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

Add api_key to schema #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msabramo
Copy link
Contributor

@msabramo msabramo commented Dec 11, 2024

I noticed when editing my prompty file in VS Code that it displayed a yellow squiggly line under api_key because it wasn't in the schema.

Screenshot 2024-12-11 at 7 42 03 AM

However, both the extension and the prompty CLI in the Python runtime are using the field, because, for both, executing my prompty fails without it and succeeds with it.

I added it to the schema so it's documented and the squiggly line goes away.

I noticed when editing my prompty file in VS Code that it displayed a yellow
squiggly line under `api_key` because it wasn't in the schema. However, the
extension is using the field, because executing my prompty fails without it and
succeeds with it.

I added it to the schema so it's documented and the squiggly line goes away.
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.

1 participant