feat: enhance MessageBubble with custom Markdown rendering, update Navbar layout, and integrate Search component in App
This commit is contained in:
@@ -224,7 +224,7 @@ export default function ChatBOX() {
|
||||
token: data.usage?.completion_tokens_details
|
||||
? data.usage.completion_tokens -
|
||||
data.usage.completion_tokens_details.reasoning_tokens
|
||||
: (data.usage.completion_tokens ?? calculate_token_length(msg.content)),
|
||||
: data.usage.completion_tokens ?? calculate_token_length(msg.content),
|
||||
example: false,
|
||||
audio: null,
|
||||
logprobs: data.choices[0]?.logprobs,
|
||||
@@ -414,7 +414,6 @@ export default function ChatBOX() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<APIListMenu />
|
||||
<div className="grow flex flex-col p-2 w-full">
|
||||
<ChatMessageList>
|
||||
{chatStore.history.length === 0 && (
|
||||
|
||||
Reference in New Issue
Block a user