Skip to content

fix(operator): omit unset flags; regenerate and align docs with the server - #300

Merged
jfrench9 merged 1 commit into
mainfrom
chore/regen-doc-alignment
Nov 17, 2026
Merged

jfrench9 merged 1 commit into
mainfrom
chore/regen-doc-alignment

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Summary

Fix (stable tier): OperatorClient default requests were refused. query, execute_query and execute_operator sent enable_rag and force_extended_analysis as null when the caller left them unset (the default); the server types both as true/false, so a default call got a 422 — the README's operator example included. Unset flags are now omitted, as thread_id already was. No signature change; behaviour goes from refused to working. Tests pin both cases (unset → omitted, set → sent).

Regeneration from the API's current descriptions. Generated tier, text only: no paths, fields or types change. It carries the description fixes in robosystems#2071, so merge or deploy order doesn't matter for behaviour — the docstrings simply read ahead until that PR ships.

Hand-written docs corrected against the server: statements take scope (consolidated is the older spelling); chart templates include consolidation and the 409 is per entity; create_report is synchronous; event source is validated against the graph's connections; document search is keyword-only with the right source_type list; portfolio reads return active positions; the graphs README uploads to a custom graph (an entity graph refuses uploads).

Test plan

  • just test-all — ruff, format, basedpyright, 752 passed

🤖 Generated with Claude Code

https://claude.ai/code/session_01AGZDQc4cAvYy1J8HDGLNEL

…lign docs

OperatorClient sent enable_rag and force_extended_analysis as null when the
caller left them unset (the default), and the server types both as
true/false, so a default query was refused with a 422. Unset flags are now
omitted, as thread_id already was; tests pin both cases.

Regenerated from the API's current descriptions, and the hand-written
README and facade docstrings corrected against the server: statements take
scope (consolidated is the older spelling), the chart templates include
consolidation, document search is keyword-only, portfolio reads return
active positions, and the graphs example uploads to a custom graph.

Claude-Session: https://claude.ai/code/session_01AGZDQc4cAvYy1J8HDGLNEL
@jfrench9
jfrench9 merged commit c9ef2fb into main Nov 17, 2026
6 checks passed
@jfrench9
jfrench9 deleted the chore/regen-doc-alignment branch November 17, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant