mirror of
https://github.com/binhong87/obsidian-note-agent.git
synced 2026-07-22 06:52:10 +00:00
feat: add reasoningContent to Message and reasoning delta type
This commit is contained in:
parent
96eefeb1c8
commit
5df971de0d
1 changed files with 2 additions and 1 deletions
|
|
@ -13,10 +13,11 @@ export interface Message {
|
|||
content: string;
|
||||
toolCalls?: ToolCall[];
|
||||
toolCallId?: string;
|
||||
reasoningContent?: string;
|
||||
}
|
||||
|
||||
export interface Delta {
|
||||
type: "text" | "tool_call" | "done" | "error";
|
||||
type: "text" | "tool_call" | "done" | "error" | "reasoning";
|
||||
text?: string;
|
||||
toolCall?: ToolCall;
|
||||
error?: { kind: string; message: string };
|
||||
|
|
|
|||
Loading…
Reference in a new issue