8000 Fix Rust HN example by hackintoshrao · Pull Request #27 · ThousandBirdsInc/chidori · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Rust HN example #27

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

Merged
merged 3 commits into from
Oct 6, 2023
Merged

Conversation

hackintoshrao
Copy link
Contributor

Fixes #26 and #24 .

- Check for the presence of the OPEN_AI_KEY environment variable.
- Detect if the program is running inside a Docker container.
- Provide user-friendly error messages with instructions on how to set the environment variable based on the runtime context (Docker vs. direct execution).

This enhancement ensures that users are informed about the necessary environment configuration regardless of their execution method.
@kvey
Copy link
Contributor
kvey commented Oct 6, 2023

Thanks for the review pass + for the fix! Looks good and validated that this fixes the example.

@kvey kvey merged commit 5271b40 into ThousandBirdsInc:main Oct 6, 2023
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.

Rust HN example gets stuck
3 participants
0