Tags: ThousandBirdsInc/chidori
Tags
Fix Rust HN example (#27) * Fixing the build issue and warning in the Rust HN example. * Add environment variable check and Docker detection - 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. * Fixing the typo in the OPENAI_API_KEY env.
PreviousNext