diff --git a/packages/instrumentation-openai/TESTING.md b/packages/instrumentation-openai/TESTING.md index 162d5ecb..89bf1cdb 100644 --- a/packages/instrumentation-openai/TESTING.md +++ b/packages/instrumentation-openai/TESTING.md @@ -32,7 +32,7 @@ or a running Ollama. Which is used is determined by the environment variables. 1. OpenAI ```bash - cp openai.env.template openai.env + cp openai.env.example openai.env vi openai.env # Add your OpenAI credentials. set -a; source ./openai.env @@ -42,7 +42,7 @@ or a running Ollama. Which is used is determined by the environment variables. 2. Azure OpenAI ```bash - cp azure.env.template azure.env + cp azure.env.example azure.env vi azure.env # Add your credentials and resource & deployment details. set -a; source ./azure.env @@ -96,7 +96,7 @@ ones, those recordings might need to be regenerated. This runs against api.openai.com, so you must have valid OpenAI auth set in your environment. ```bash -cp openai.env.template openai.env +cp openai.env.example openai.env vi openai.env # Add your OpenAI credentials. set -a; source openai.env diff --git a/packages/instrumentation-openai/azure.env.template b/packages/instrumentation-openai/azure.env.example similarity index 100% rename from packages/instrumentation-openai/azure.env.template rename to packages/instrumentation-openai/azure.env.example diff --git a/packages/instrumentation-openai/openai.env.template b/packages/instrumentation-openai/openai.env.example similarity index 100% rename from packages/instrumentation-openai/openai.env.template rename to packages/instrumentation-openai/openai.env.example diff --git a/packages/instrumentation-openai/test/fixtures.test.js b/packages/instrumentation-openai/test/fixtures.test.js index fb0f4653..dffce81f 100644 --- a/packages/instrumentation-openai/test/fixtures.test.js +++ b/packages/instrumentation-openai/test/fixtures.test.js @@ -144,7 +144,7 @@ switch (testMode) { } if (!process.env.OPENAI_API_KEY) { throw new Error( - 'OPENAI_API_KEY is not set. To regenerate-recordings, it must be set. Set it in your environment, or use TEST_FIXTURES_ENV_FILE="./openai.env" (see "openai.env.template").' + 'OPENAI_API_KEY is not set. To regenerate-recordings, it must be set. Set it in your environment, or use TEST_FIXTURES_ENV_FILE="./openai.env" (see "openai.env.example").' ); } usingNock = true;