Title: [BUG] API key is required for vllm · Issue #2378 · simstudioai/sim · GitHub
Open Graph Title: [BUG] API key is required for vllm · Issue #2378 · simstudioai/sim
X Title: [BUG] API key is required for vllm · Issue #2378 · simstudioai/sim
Description: Describe the bug When using sim with VLLM_BASE_URL, sim can see and list all the model hosted behind but throw an API key is required for vllm vllm/qwen-3 error message on use. whether the VLLM_API_KEY variable is set or not. vLLM is rea...
Open Graph Description: Describe the bug When using sim with VLLM_BASE_URL, sim can see and list all the model hosted behind but throw an API key is required for vllm vllm/qwen-3 error message on use. whether the VLLM_API...
X Description: Describe the bug When using sim with VLLM_BASE_URL, sim can see and list all the model hosted behind but throw an API key is required for vllm vllm/qwen-3 error message on use. whether the VLLM_API...
Opengraph URL: https://github.com/simstudioai/sim/issues/2378
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] API key is required for vllm","articleBody":"**Describe the bug**\nWhen using sim with VLLM_BASE_URL, sim can see and list all the model hosted behind but throw an \n`API key is required for vllm vllm/qwen-3` error message on use. whether the VLLM_API_KEY variable is set or not. \n\nvLLM is reachable on all other side app, without any api key. \n\n**To Reproduce**\nSteps to reproduce the behavior:\n\n1. Start an [vLLM](https://github.com/vllm-project/vllm) instance\n2. Deploy Sim using helm-chart (based on this [values](https://github.com/simstudioai/sim/blob/main/helm/sim/examples/values-aws.yaml) for me )\n3. Setup VLLM_BASE_URL under `app.env` key \n```\napp:\n env: \n ...\n VLLM_BASE_URL: \"https:/vllm.exemple.com\"\n ...\n```\n4. Open an agent in editor and select our vLLM model\n5. Click on 'Run' to test connectivity \n\n**Expected behavior**\nCan use vLLM hosted model\n\n**Screenshots**\n\n\u003cimg width=\"202\" height=\"151\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/17761400-947c-43e8-a5e1-f26981dfb5e8\" />\n\n\u003cimg width=\"1880\" height=\"186\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ae683aef-5824-4bec-bcf6-fb2e7bb39553\" />\n\n**Additional context**\n\nChart version: v0.5.29 \nApp version: v0.5.29\n\nFull log on app side: \n```\n[2025-12-15T13:33:40.083Z] [ERROR] [AgentBlockHandler] Failed to get API key: {\"provider\":\"vllm\",\"model\":\"vllm/qwen-3\",\"error\":\"API key is required for vllm vllm/qwen-3\",\"hasProvidedApiKey\":false}\n[2025-12-15T13:33:40.083Z] [ERROR] [BlockExecutor] Block execution failed {\"blockId\":\"f83f3c4e-b453-476a-b963-9f21db2211e9\",\"blockType\":\"agent\",\"error\":\"API key is required for vllm vllm/qwen-3\"}\n[2025-12-15T13:33:40.084Z] [ERROR] [ExecutionEngine] Node execution failed {\"nodeId\":\"f83f3c4e-b453-476a-b963-9f21db2211e9\",\"error\":\"[agent] Agent 1: API key is required for vllm vllm/qwen-3\"}\n[2025-12-15T13:33:40.084Z] [ERROR] [ExecutionEngine] Execution failed {\"error\":\"[agent] Agent 1: API key is required for vllm vllm/qwen-3\"}\n[2025-12-15T13:33:40.084Z] [ERROR] [ExecutionCore] [bb20a523] Execution failed: {\"message\":\"[agent] Agent 1: API key is required for vllm vllm/qwen-3\",\"blockId\":\"f83f3c4e-b453-476a-b963-9f21db2211e9\",\"blockName\":\"Agent 1\",\"blockType\":\"agent\",\"workflowId\":\"46640e50-ee47-4e34-a432-2062e44949c7\",\"timestamp\":\"2025-12-15T13:33:40.084Z\",\"nodeId\":\"f83f3c4e-b453-476a-b963-9f21db2211e9\",\"executionTime\":0,\"executionResult\":{\"success\":false,\"output\":{},\"error\":\"[agent] Agent 1: API key is required for vllm vllm/qwen-3\",\"logs\":[{\"blockId\":\"ed396b24-8488-4c2c-b8d1-2fcecaa3b065\",\"blockName\":\"Start\",\"blockType\":\"start_trigger\",\"startedAt\":\"2025-12-15T13:33:40.082Z\",\"endedAt\":\"2025-12-15T13:33:40.082Z\",\"durationMs\":0,\"success\":true,\"input\":{\"inputFormat\":[{\"id\":\"43256295-8ba7-431b-a1bc-d422916a0dd9\",\"name\":\"username\",\"type\":\"string\",\"value\":\"foo\",\"collapsed\":false}],\"triggerMode\":true},\"output\":{\"username\":\"foo\"}},{\"blockId\":\"f83f3c4e-b453-476a-b963-9f21db2211e9\",\"blockName\":\"Agent 1\",\"blockType\":\"agent\",\"startedAt\":\"2025-12-15T13:33:40.083Z\",\"endedAt\":\"2025-12-15T13:33:40.083Z\",\"durationMs\":0,\"success\":false,\"input\":{\"model\":\"vllm/qwen-3\",\"tools\":[],\"apiKey\":null,\"messages\":[{\"role\":\"user\",\"content\":\"Say hello to foo.\"}],\"verbosity\":\"medium\",\"memoryType\":\"none\",\"temperature\":0.3,\"azureEndpoint\":null,\"conversationId\":\"session-foo\",\"responseFormat\":null,\"azureApiVersion\":null,\"reasoningEffort\":\"medium\",\"slidingWindowSize\":null,\"slidingWindowTokens\":null},\"error\":\"API key is required for vllm vllm/qwen-3\"}],\"metadata\":{\"requestId\":\"bb20a523\",\"executionId\":\"444cb113-7b72-474f-8602-d301e227c1a3\",\"workflowId\":\"46640e50-ee47-4e34-a432-2062e44949c7\",\"workspaceId\":\"74296bf1-9476-488a-9771-ebe4ab1c24ab\",\"userId\":\"hugvHtQNLfMfYOL6unmxRRBj90QFBAUP\",\"sessionUserId\":\"hugvHtQNLfMfYOL6unmxRRBj90QFBAUP\",\"workflowUserId\":\"hugvHtQNLfMfYOL6unmxRRBj90QFBAUP\",\"triggerType\":\"manual\",\"useDraftState\":true,\"startTime\":\"2025-12-15T13:33:40.082Z\",\"isClientSession\":true,\"workflowStateOverride\":{\"blocks\":{\"ed396b24-8488-4c2c-b8d1-2fcecaa3b065\":{\"id\":\"ed396b24-8488-4c2c-b8d1-2fcecaa3b065\",\"type\":\"start_trigger\",\"name\":\"Start\",\"position\":{\"x\":-797.6923076923077,\"y\":-672.3076923076922},\"enabled\":true,\"horizontalHandles\":true,\"advancedMode\":false,\"triggerMode\":false,\"height\":0,\"subBlocks\":{\"inputFormat\":{\"id\":\"inputFormat\",\"type\":\"input-format\",\"value\":[{\"id\":\"43256295-8ba7-431b-a1bc-d422916a0dd9\",\"name\":\"username\",\"type\":\"string\",\"value\":\"Brice\",\"collapsed\":false}]}},\"outputs\":{\"files\":{\"type\":\"files\",\"description\":\"User uploaded files\"},\"input\":{\"type\":\"string\",\"description\":\"Primary user input or message\"},\"conversationId\":{\"type\":\"string\",\"description\":\"Conversation thread identifier\"}},\"data\":{}},\"f83f3c4e-b453-476a-b963-9f21db2211e9\":{\"id\":\"f83f3c4e-b453-476a-b963-9f21db2211e9\",\"type\":\"agent\",\"name\":\"Agent 1\",\"position\":{\"x\":-498.84615384615375,\"y\":-756.153846153846},\"enabled\":true,\"horizontalHandles\":true,\"advancedMode\":false,\"triggerMode\":false,\"height\":0,\"subBlocks\":{\"model\":{\"id\":\"model\",\"type\":\"combobox\",\"value\":\"vllm/qwen-3\"},\"tools\":{\"id\":\"tools\",\"type\":\"tool-input\",\"value\":[]},\"apiKey\":{\"id\":\"apiKey\",\"type\":\"short-input\",\"value\":null},\"messages\":{\"id\":\"messages\",\"type\":\"messages-input\",\"value\":[{\"role\":\"user\",\"content\":\"Say hello to \u003cstart.username>.\"}]},\"verbosity\":{\"id\":\"verbosity\",\"type\":\"dropdown\",\"value\":\"medium\"},\"memoryType\":{\"id\":\"memoryType\",\"type\":\"dropdown\",\"value\":\"none\"},\"temperature\":{\"id\":\"temperature\",\"type\":\"slider\",\"value\":0.3},\"azureEndpoint\":{\"id\":\"azureEndpoint\",\"type\":\"short-input\",\"value\":null},\"conversationId\":{\"id\":\"conversationId\",\"type\":\"short-input\",\"value\":\"session-foo\"},\"responseFormat\":{\"id\":\"responseFormat\",\"type\":\"code\",\"value\":null},\"azureApiVersion\":{\"id\":\"azureApiVersion\",\"type\":\"short-input\",\"value\":null},\"reasoningEffort\":{\"id\":\"reasoningEffort\",\"type\":\"dropdown\",\"value\":\"medium\"},\"slidingWindowSize\":{\"id\":\"slidingWindowSize\",\"type\":\"short-input\",\"value\":null},\"slidingWindowTokens\":{\"id\":\"slidingWindowTokens\",\"type\":\"short-input\",\"value\":null}},\"outputs\":{\"model\":{\"type\":\"string\",\"description\":\"Model used for generation\"},\"tokens\":{\"type\":\"any\",\"description\":\"Token usage statistics\"},\"content\":{\"type\":\"string\",\"description\":\"Generated response content\"},\"toolCalls\":{\"type\":\"any\",\"description\":\"Tool calls made\"}},\"data\":{}}},\"edges\":[{\"id\":\"9b4ef229-fbe9-4bb9-be1c-93756d220f22\",\"source\":\"ed396b24-8488-4c2c-b8d1-2fcecaa3b065\",\"target\":\"f83f3c4e-b453-476a-b963-9f21db2211e9\",\"sourceHandle\":\"source\",\"targetHandle\":\"target\",\"type\":\"default\",\"data\":{}}],\"loops\":{},\"parallels\":{}},\"duration\":2,\"endTime\":\"2025-12-15T13:33:40.084Z\"}}}\nError: [agent] Agent 1: API key is required for vllm vllm/qwen-3\n at $ (.next/server/chunks/apps_sim_lib_workflows_executor_human-in-the-loop-manager_ts_98617cee._.js:1:15802)\n at handleBlockError (.next/server/chunks/apps_sim_lib_workflows_executor_human-in-the-loop-manager_ts_98617cee._.js:1:18370)\n at processTicksAndRejections (null) {\n blockId: 'f83f3c4e-b453-476a-b963-9f21db2211e9',\n blockName: 'Agent 1',\n blockType: 'agent',\n workflowId: '46640e50-ee47-4e34-a432-2062e44949c7',\n timestamp: '2025-12-15T13:33:40.084Z',\n nodeId: 'f83f3c4e-b453-476a-b963-9f21db2211e9',\n executionTime: 0,\n executionResult: [Object]\n}\n ⨯ unhandledRejection: Error: [agent] Agent 1: API key is required for vllm vllm/qwen-3\n at $ (.next/server/chunks/apps_sim_lib_workflows_executor_human-in-the-loop-manager_ts_98617cee._.js:1:15802)\n at handleBlockError (.next/server/chunks/apps_sim_lib_workflows_executor_human-in-the-loop-manager_ts_98617cee._.js:1:18370)\n at processTicksAndRejections (null) {\n blockId: 'f83f3c4e-b453-476a-b963-9f21db2211e9',\n blockName: 'Agent 1',\n blockType: 'agent',\n workflowId: '46640e50-ee47-4e34-a432-2062e44949c7',\n timestamp: '2025-12-15T13:33:40.084Z',\n nodeId: 'f83f3c4e-b453-476a-b963-9f21db2211e9',\n executionTime: 0,\n executionResult: [Object]\n}\n```","author":{"url":"https://github.com/BriceMichalskiOneup","@type":"Person","name":"BriceMichalskiOneup"},"datePublished":"2025-12-15T13:56:48Z","url":"https://github.com/simstudioai/sim/issues/2378"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:179afee5-279e-a44c-ebc4-86eb3b3429f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC7C:47529:AB6BB9:F26364:6AFB597E |
| html-safe-nonce | 4f1da8876c5954d9c72200474d5608d020c65f6c3822f0bcd56ae1396ad54a9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzdDOjQ3NTI5OkFCNkJCOTpGMjYzNjQ6NkFGQjU5N0UiLCJ2aXNpdG9yX2lkIjoiODI4NTY0ODM0NTY5NTQ3NjA5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 488a5e2970e342ef5b1a3efcbe95da3ab1bcf851f7ad08946f7d43dca6d7700b |
| hovercard-subject-tag | issue:3730568677 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simstudioai/sim/2378/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fa39a3f4c0780e2de942f954e379f4747f0c9f59d6947463a84d513ba17a0f2/simstudioai/sim/issues/2378 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fa39a3f4c0780e2de942f954e379f4747f0c9f59d6947463a84d513ba17a0f2/simstudioai/sim/issues/2378 |
| og:image:alt | Describe the bug When using sim with VLLM_BASE_URL, sim can see and list all the model hosted behind but throw an API key is required for vllm vllm/qwen-3 error message on use. whether the VLLM_API... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BriceMichalskiOneup |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width