Skip to content

fix(agent): validate context engine tool schemas before wrapping (#47707) - #47721

Closed
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-47707
Closed

fix(agent): validate context engine tool schemas before wrapping (#47707)#47721
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-47707

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #47707. Context engine tool schemas are now validated before wrapping. If a schema is already in OpenAI tool form, it's used as-is to avoid double-wrapping. Schemas without a name are skipped with a warning instead of being appended as nameless tools that break strict providers.

@alt-glitch alt-glitch added type/bug Something isn't working comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint P2 Medium — degraded but workaround exists labels Jun 17, 2026
@kyssta-exe

Copy link
Copy Markdown
Contributor Author

Stale — oldest open PR, no merge activity for weeks.

@kyssta-exe kyssta-exe closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Context-engine/memory-provider tool schemas are wrapped without validating a top-level name — one malformed schema 400s the entire request

2 participants