v0 API keeps returning responses to my calls using v0-1.5-md, when i need it to be using v0-1.0-md. I have my request hardcoded as 1.0 and it was working correctly before, but suddenly it’s not anymore. And when using 1.5, it truncates my responses’ tokens and causes 500 errors to my calls. This is very frustrating. My call is as follows
{{ JSON.stringify({
model: “v0-1.0-md”,
“stream”: false,
messages: [
{
role: “user”,
content: $json.Prompt1 //fetches a prompt from a previous n8n node
}
]
}) }}
For some reason it just refuses to use v0-1.0-md and keeps redirecting to 1.5 and then truncating important info. I have another http request to the v0 api that then runs after and instantly throws a 500 error as follows
message:500 - “{“success”:false,“error”:“Unknown error”}”
name:AxiosError
stack:AxiosError: Request failed with status code 500\n at settle (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/axios@1.8.3/node_modules/axios/lib/core/settle.js:19:12)\n at ClientRequest.handleResponse (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/axios@1.8.3/node_modules/axios/lib/adapters/http.js:547:9)\n at Object.onceWrapper (node:events:639:26)\n at ClientRequest.emit (node:events:524:28)\n at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:702:27)\n at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17)\n at TLSSocket.socketOnData (node:_http_client:544:22)\n at TLSSocket.emit (node:events:524:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at TLSSocket.Readable.push (node:internal/streams/readable:392:5)\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:191:23)\n at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)\n at Axios.request (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/axios@1.8.3/node_modules/axios/lib/core/Axios.js:45:41)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)
I am having the same issue. It’s very annoying. I’ve been having this issue for about 4-5 days.
Request failed with status code 500: {“success”:false,“error”:“Unknown error”}
Request ID: 6e980598-0fbf-446a-a2cf-71c8f0711bcd
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nRequest failed with status code 500: {\"success\":false,\"error\":\"Unknown error\"}\n”},“isExpected”:true}
ConnectError: [invalid_argument] Error
at TEa.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4243:224508)
at vWs.S (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:13557)
at vWs.Q (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:13335)
at vWs.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:12423)
at vWs.L (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:11524)
at apt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:10316)
at we.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46:2398)
at we.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46:2617)
at bQe.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4225:10378)
at u.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6688:12344)