mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-23 00:54:43 +00:00
add initial lsp support
This commit is contained in:
@@ -91,7 +91,7 @@ func (b *agentTool) Run(ctx context.Context, call tools.ToolCall) (tools.ToolRes
|
||||
if err != nil {
|
||||
return tools.NewTextErrorResponse(fmt.Sprintf("error: %s", err)), nil
|
||||
}
|
||||
return tools.NewTextResponse(response.Content), nil
|
||||
return tools.NewTextResponse(response.Content().String()), nil
|
||||
}
|
||||
|
||||
func NewAgentTool(parentSessionID string, app *app.App) tools.BaseTool {
|
||||
|
||||
Reference in New Issue
Block a user