Skip to content

default args for tools so openai doesn't yell at us#18

Merged
thdxr merged 2 commits intoanomalyco:masterfrom
BOTKooper:o3-mini
Mar 20, 2025
Merged

default args for tools so openai doesn't yell at us#18
thdxr merged 2 commits intoanomalyco:masterfrom
BOTKooper:o3-mini

Conversation

@BOTKooper
Copy link
Contributor

cont of #17
was basically asleep and for some reason didn't try the most obvious thing

image

@BOTKooper
Copy link
Contributor Author

BOTKooper commented Mar 20, 2025

I guess both our brains are not braining, we could just use empty z.object({}) as default args and it'll be working fine

@BOTKooper BOTKooper changed the title fix the empty-args tool schema for o3-mini default args for tools so openai doesn't yell at us Mar 20, 2025
@thdxr thdxr merged commit 5c02660 into anomalyco:master Mar 20, 2025
1 of 2 checks passed
@BOTKooper BOTKooper deleted the o3-mini branch March 20, 2025 15:44
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