支持探索版和K1模型,修复图像解析能力

This commit is contained in:
Vinlic
2024-12-17 17:08:09 +08:00
parent 1dd7f89cbc
commit 1375e7c6c4
8 changed files with 2020 additions and 238 deletions

View File

@@ -0,0 +1,20 @@
export default interface IStreamMessage {
id: string;
model: string;
object: string;
choices: {
index: number;
message: {
role: string;
content: string;
};
finish_reason: string;
}[];
usage: {
prompt_tokens: number;
completion_tokens: number;
total_tokens: number;
};
segment_id?: string;
created: number;
}