fix: uixt tool take_screenshot

This commit is contained in:
lilong.129
2025-05-21 17:57:48 +08:00
parent 60e608f101
commit d58bbaeb5f
4 changed files with 12 additions and 41 deletions

View File

@@ -112,7 +112,7 @@ func (c *Chat) runPrompt(ctx context.Context, prompt string) error {
// Create user message
planningOpts := &ai.PlanningOptions{
UserInstruction: "chat with MCP tools",
UserInstruction: prompt,
Message: &schema.Message{
Role: schema.User,
Content: prompt,