Last active
December 26, 2024 19:08
-
-
Save intellectronica/9b190aca94bf4372c4b08e8b016922ec to your computer and use it in GitHub Desktop.
pydantic-ai-openai-strict.ipynb
Author
Author
Gist updated. Thanks for the suggestion, this is more elegant and less duplicative.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@samuelcolvin Almost.
super()can't be used like this, but we can just call the method from the class explicitly. And we need to also setadditionalProperties.This works: