Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically generate internal type hint overloads #913

Open
willbakst opened this issue Mar 12, 2025 · 0 comments
Open

Automatically generate internal type hint overloads #913

willbakst opened this issue Mar 12, 2025 · 0 comments
Labels
enhancement New feature or request mirascope

Comments

@willbakst
Copy link
Contributor

Originally proposed by @teamdandelion in #896 discussion

In preparation for the v2.0 release, we should work on auto-generating the type hint overloads for v1.x.

For example, the llm.override method has insane type overloads that overload for every provider. If we want to do this for every model in the future, we'll need a way to auto-generate these to avoid massive headaches in the furture.

@willbakst willbakst added the enhancement New feature or request label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mirascope
Projects
None yet
Development

No branches or pull requests

1 participant