张涛丶
Results
issues of
张涛丶
deepseek r1 不支持 function call ,如何手动调用mcp 并将调用结果放入大模型中?
` // 创建Agent agent, err := react.NewAgent(requestCtx, &react.AgentConfig{ ToolCallingModel: cm, ToolsConfig: compose.ToolsNodeConfig{ Tools: tools, ExecuteSequentially: true, }, MaxStep: 40, //ToolReturnDirectly: map[string]struct{}{fakeToolName: {}}, StreamToolCallChecker: func(ctx context.Context, sr *schema.StreamReader[*schema.Message]) (bool, error) {...