feat(pico): add support for tool_calls in chat messages
This commit is contained in:
20 files changed
+815
-409
No files matched your search
@@ -14,7 +14,7 @@ export interface SessionDetail {
|
||||
messages: {
|
||||
role: "user" | "assistant"
|
||||
content: string
|
||||
kind?: "normal" | "thought"
|
||||
kind?: "normal" | "thought" | "tool_calls"
|
||||
media?: string[]
|
||||
attachments?: {
|
||||
type?: "image" | "audio" | "video" | "file"
|
||||
@@ -22,6 +22,17 @@ export interface SessionDetail {
|
||||
filename?: string
|
||||
content_type?: string
|
||||
}[]
|
||||
tool_calls?: {
|
||||
id?: string
|
||||
type?: string
|
||||
function?: {
|
||||
name?: string
|
||||
arguments?: string
|
||||
}
|
||||
extra_content?: {
|
||||
tool_feedback_explanation?: string
|
||||
}
|
||||
}[]
|
||||
}[]
|
||||
summary: string
|
||||
created: string
|
||||
|
||||
Reference in new issue
Block a user