Repository navigation
refactor(agents): describe the LLM outputs in the response schemas in… - #321
Merged
Merged
Conversation
irumvanselme
added this pull request to stack #319
October 5, 2026 08:49
…stead of the prompts The response schema of the structured output now carries the description of every output field (Field(description=...)), so the prompts no longer repeat JSON-format instructions: - move the output field descriptions of every agent, tool and evaluator from the prompts to their response models - rename get_json_response_instructions to get_response_instructions - type the data extraction references, as an untyped object makes the Gemini 3.x models return null fields - prompt tweaks: router keyword routing, transition decision when the user volunteers duties, CV extraction keeps names in their original script - career readiness: describe the topic_status record fields in the schema, and use the base response model in support mode so that an empty topic_status is accepted
irumvanselme
force-pushed
the
feat/structured-output-prompts
branch
from
October 7, 2026 06:37
3d99912 to
d4fc468
Compare
musayann
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…stead of the prompts
The response schema of the structured output now carries the description of every output field (Field(description=...)), so the prompts no longer repeat JSON-format instructions:
Fixes