Skip to content

Replace discriminatedUnion with simple object for Gemini models#74

Merged
threepointone merged 5 commits intocloudflare:mainfrom
gingerhendrix:simplify_schedule_schema_for_gemini
Mar 17, 2025
Merged

Replace discriminatedUnion with simple object for Gemini models#74
threepointone merged 5 commits intocloudflare:mainfrom
gingerhendrix:simplify_schedule_schema_for_gemini

Conversation

@gingerhendrix
Copy link
Copy Markdown
Contributor

It's not perfect some more prompt engineering is required.

I can't run the full eval on gemini-2.0-pro-exp because of rate limiting. It scores 95% on gemini-1.5-pro, and 90% on gemini-2.0-flash

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 11, 2025

🦋 Changeset detected

Latest commit: 17776ed

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
agents-sdk Patch
hono-agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@threepointone
Copy link
Copy Markdown
Contributor

This is actually pretty great, so I'm going to land it. Thank you very much!

@threepointone threepointone force-pushed the simplify_schedule_schema_for_gemini branch from e220595 to 5060ab8 Compare March 17, 2025 12:57
@threepointone threepointone force-pushed the simplify_schedule_schema_for_gemini branch from 3e11e96 to 35203c0 Compare March 17, 2025 13:00
@threepointone threepointone merged commit 7bcdd83 into cloudflare:main Mar 17, 2025
@threepointone threepointone mentioned this pull request Mar 17, 2025
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.

2 participants