format code
This commit is contained in:
@@ -183,9 +183,7 @@ export default function Message(props: Props) {
|
|||||||
<TTSPlay chat={chat} />
|
<TTSPlay chat={chat} />
|
||||||
{chat.response_model_name && (
|
{chat.response_model_name && (
|
||||||
<>
|
<>
|
||||||
<span className="opacity-50">
|
<span className="opacity-50">{chat.response_model_name}</span>
|
||||||
{chat.response_model_name}
|
|
||||||
</span>
|
|
||||||
<hr />
|
<hr />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export default function ChatBOX(props: {
|
|||||||
const logprobs: Logprobs = {
|
const logprobs: Logprobs = {
|
||||||
content: [],
|
content: [],
|
||||||
};
|
};
|
||||||
let response_model_name : string | null = null;
|
let response_model_name: string | null = null;
|
||||||
for await (const i of client.processStreamResponse(response)) {
|
for await (const i of client.processStreamResponse(response)) {
|
||||||
response_model_name = i.model;
|
response_model_name = i.model;
|
||||||
responseTokenCount += 1;
|
responseTokenCount += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user