Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Tighten ask tool schema validation

8 months ago

b9e7a8e
Authored
mweinbach2/22/2026, 10:13:28 PM
- keep a top-level object schema for provider compatibility
- enforce mutually exclusive single-question and structured question payloads via Zod
- keep existing runtime behavior while simplifying parsing paths

Co-authored-by: Codex <noreply@openai.com>

Parente1de4f3

1 file changed
  • src/tools/ask.ts+13−12