docs(ax): improve remote client usage example
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
103fcb473b
commit
165db215a2
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ func (c RemoteClient) Call(ctx context.Context, sessionID string, body []byte) (
|
|||
return response, nil
|
||||
}
|
||||
|
||||
// body := client.ToolCallBody("agentic_status", map[string]any{})
|
||||
// body := client.ToolCallBody(1, "agentic_dispatch", map[string]any{"repo": "go-io", "task": "Fix tests"})
|
||||
func (c RemoteClient) ToolCallBody(id int, name string, arguments map[string]any) []byte {
|
||||
request := map[string]any{
|
||||
"jsonrpc": "2.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue