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

Allow api key to be set via model.key #4

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

abulte
Copy link
Contributor

@abulte abulte commented Jan 18, 2024

This makes the behavior consistent with the openai's one documented in https://llm.datasette.io/en/stable/python-api.html#basic-prompt-execution

@simonw
Copy link
Owner

simonw commented Feb 26, 2024

Thanks, this makes sense (though I want to redesign this mechanism soon to make it more intuitive).

@simonw simonw merged commit a4f6400 into simonw:main Feb 26, 2024
simonw added a commit that referenced this pull request Feb 26, 2024
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