refactor: merge ai parser

This commit is contained in:
lilong.129
2025-05-24 00:25:44 +08:00
parent 19ddcb40cc
commit 81c854f963
7 changed files with 929 additions and 256 deletions
+1 -2
View File
@@ -28,10 +28,9 @@ type PlanningOptions struct {
// PlanningResult represents the result of planning
type PlanningResult struct {
ToolCalls []schema.ToolCall `json:"tool_calls"`
Actions []Action `json:"actions"` // TODO: merge to ToolCalls
ActionSummary string `json:"summary"`
Thought string `json:"thought"`
Text string `json:"text"`
Content string `json:"content"` // original content from model
Error string `json:"error,omitempty"`
}