fix: Improved base64 image handling and Windows compatibility

This commit is contained in:
stabgan
2025-03-28 12:41:57 +05:30
parent 3d9d07b210
commit 8512f031f7
22 changed files with 4914 additions and 117 deletions

View File

@@ -15,7 +15,7 @@ class OpenRouterMultimodalServer {
constructor() {
// Retrieve API key and default model from environment variables
const apiKey = process.env.OPENROUTER_API_KEY;
const defaultModel = process.env.DEFAULT_MODEL || DEFAULT_MODEL;
const defaultModel = process.env.OPENROUTER_DEFAULT_MODEL || DEFAULT_MODEL;
// Check if API key is provided
if (!apiKey) {