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