@aris-mcp/server 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -481,11 +481,11 @@ function envBool(value, defaultValue) {
|
|
|
481
481
|
}
|
|
482
482
|
function loadConfig() {
|
|
483
483
|
const llmProvider = process.env.ARIS_LLM_PROVIDER ?? "openrouter";
|
|
484
|
-
const llmApiKey = process.env.
|
|
484
|
+
const llmApiKey = process.env.ARIS_API_KEY;
|
|
485
485
|
const ollamaUrl = process.env.ARIS_OLLAMA_URL ?? "http://localhost:11434";
|
|
486
486
|
if (llmProvider === "openrouter" && !llmApiKey) {
|
|
487
487
|
throw new Error(
|
|
488
|
-
"
|
|
488
|
+
"ARIS_API_KEY is required when ARIS_LLM_PROVIDER is 'openrouter'"
|
|
489
489
|
);
|
|
490
490
|
}
|
|
491
491
|
return {
|