Use app-server thread name method

This commit is contained in:
Codex
2026-05-21 09:35:32 +00:00
parent bc866d1224
commit 660458af32
3 changed files with 5 additions and 5 deletions

View File

@@ -229,7 +229,7 @@ func (c *Client) SetThreadName(ctx context.Context, threadID, name string) error
return err
}
var ignored json.RawMessage
return c.call(ctx, "thread/setName", map[string]any{
return c.call(ctx, "thread/name/set", map[string]any{
"threadId": threadID,
"name": name,
}, &ignored)