format code

This commit is contained in:
2024-12-08 16:19:20 +08:00
parent e7c26560bb
commit 400ebafc37
2 changed files with 2 additions and 4 deletions

View File

@@ -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 />
</>
)}

View File

@@ -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;