|
1 | 1 | export const getAnthropicApiKeyError = () => ` |
2 | 2 | Error: ANTHROPIC_API_KEY environment variable is not set |
3 | 3 |
|
4 | | -Before using MyCoder, you must have an ANTHROPIC_API_KEY specified either: |
| 4 | +Before using MyCoder with Anthropic models, you must have an ANTHROPIC_API_KEY specified either: |
5 | 5 |
|
6 | 6 | - As an environment variable, "export ANTHROPIC_API_KEY=[your-api-key]" or |
7 | 7 | - In a .env file in the folder you run "mycoder" from |
8 | 8 |
|
9 | 9 | Get an API key from https://www.anthropic.com/api |
| 10 | +For setup instructions, visit: https://mycoder.ai/docs/getting-started/anthropic |
| 11 | +`; |
| 12 | + |
| 13 | +export const getOpenAIApiKeyError = () => ` |
| 14 | +Error: OPENAI_API_KEY environment variable is not set |
| 15 | +
|
| 16 | +Before using MyCoder with OpenAI models, you must have an OPENAI_API_KEY specified either: |
| 17 | +
|
| 18 | +- As an environment variable, "export OPENAI_API_KEY=[your-api-key]" or |
| 19 | +- In a .env file in the folder you run "mycoder" from |
| 20 | +
|
| 21 | +Get an API key from https://platform.openai.com/api-keys |
| 22 | +For setup instructions, visit: https://mycoder.ai/docs/getting-started/openai |
| 23 | +`; |
| 24 | + |
| 25 | +export const getXAIApiKeyError = () => ` |
| 26 | +Error: XAI_API_KEY environment variable is not set |
| 27 | +
|
| 28 | +Before using MyCoder with xAI models, you must have an XAI_API_KEY specified either: |
| 29 | +
|
| 30 | +- As an environment variable, "export XAI_API_KEY=[your-api-key]" or |
| 31 | +- In a .env file in the folder you run "mycoder" from |
| 32 | +
|
| 33 | +Get an API key from https://platform.xai.com |
| 34 | +For setup instructions, visit: https://mycoder.ai/docs/getting-started/xai |
| 35 | +`; |
| 36 | + |
| 37 | +export const getMistralApiKeyError = () => ` |
| 38 | +Error: MISTRAL_API_KEY environment variable is not set |
| 39 | +
|
| 40 | +Before using MyCoder with Mistral models, you must have a MISTRAL_API_KEY specified either: |
| 41 | +
|
| 42 | +- As an environment variable, "export MISTRAL_API_KEY=[your-api-key]" or |
| 43 | +- In a .env file in the folder you run "mycoder" from |
| 44 | +
|
| 45 | +Get an API key from https://console.mistral.ai/api-keys/ |
| 46 | +For setup instructions, visit: https://mycoder.ai/docs/getting-started/mistral |
10 | 47 | `; |
0 commit comments