Enha: models toolcall into answer
This commit is contained in:
@@ -11,6 +11,12 @@ type Answer struct {
|
||||
Answer string `json:"answer"`
|
||||
Model string `json:"model"`
|
||||
// resp time?
|
||||
ToolCall ToolCall `json:"tool_call"`
|
||||
}
|
||||
|
||||
type ToolCall struct {
|
||||
Name string `json:"name"`
|
||||
Args map[string]ToolArgProps `json:"args"`
|
||||
}
|
||||
|
||||
// type OpenRouterResp struct {
|
||||
|
Reference in New Issue
Block a user