Skip to content

Implement structured outputs#474

Merged
rumpl merged 1 commit intodocker:mainfrom
rumpl:feat-structured-outputs
Oct 10, 2025
Merged

Implement structured outputs#474
rumpl merged 1 commit intodocker:mainfrom
rumpl:feat-structured-outputs

Conversation

@rumpl
Copy link
Copy Markdown
Member

@rumpl rumpl commented Oct 10, 2025

Only for openai and gemini for now, will return an error if the agent is using anthropic

Fixes #28

@rumpl rumpl requested a review from a team as a code owner October 10, 2025 13:23
@rumpl rumpl force-pushed the feat-structured-outputs branch 2 times, most recently from 468a19a to 3ff88ba Compare October 10, 2025 13:25
@rumpl
Copy link
Copy Markdown
Member Author

rumpl commented Oct 10, 2025

Just realised it’s missing the types for v0 and v1, will fix

@rumpl rumpl force-pushed the feat-structured-outputs branch from 3ff88ba to 9bc1716 Compare October 10, 2025 15:01
@krissetto
Copy link
Copy Markdown
Contributor

Noice! I think we should add the same to DMR provider since it uses the same chat_completions api, even if it may not work with every single local model out there

@rumpl rumpl force-pushed the feat-structured-outputs branch 2 times, most recently from 0f008a1 to 9638a76 Compare October 10, 2025 15:16
Copy link
Copy Markdown
Contributor

@krissetto krissetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a demo cmd <3

@rumpl rumpl force-pushed the feat-structured-outputs branch from 9638a76 to b38243b Compare October 10, 2025 15:27
@rumpl
Copy link
Copy Markdown
Member Author

rumpl commented Oct 10, 2025

Demo command added 👍

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl force-pushed the feat-structured-outputs branch from b38243b to b5035ca Compare October 10, 2025 15:30
@rumpl rumpl merged commit 251ca52 into docker:main Oct 10, 2025
5 checks passed
@rumpl rumpl deleted the feat-structured-outputs branch November 4, 2025 13:02
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.

Structured output

2 participants