Uh oh!
There was an error while loading. Please reload this page.
feat: Auto-generate agent/client methods based on the schema - #36
Conversation
Signed-off-by: Frost Ming <me@frostming.com>
PsiACE
left a comment
There was a problem hiding this comment.

We still depend on the post-generation overrides in scripts/gen_schema.py: without them, datamodel-code-generator produces plain str fields (e.g. PromptResponse.stop_reason) and dict defaults (e.g. AgentCapabilities.mcp_capabilities). The current warnings (“failed to override default…”) happen because --snake-case-field renamed the generated attributes (stop_reason, mcp_capabilities, etc.), while the override lists still use camelCase. Before we carry these fixes forward, could you confirm whether you still expect these override steps to remain, or if you have a better approach in mind?
Signed-off-by: Frost Ming <me@frostming.com>
frostming
commented
Nov 20, 2025
Thanks, overrides config is fixed |
Uh oh!
There was an error while loading. Please reload this page.
* feat: Auto-generate agent/client methods based on the schema Signed-off-by: Frost Ming <me@frostming.com> * fix: overrides in gen_schema.py Signed-off-by: Frost Ming <me@frostming.com> --------- Signed-off-by: Frost Ming <me@frostming.com>
Summary
Related issues
Testing
Docs & screenshots
Checklist
feat:,fix:).make gen-all) are called out if applicable.