mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-04 08:24:59 +01: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