Open BenJackGill opened 1 year ago
you also have to fill in kobaldApiUrl
. If you are using Ooba in Runpod then use the link from the url from "HTTP Service [port 5000]" within 'Connection Options'
Thanks for the help.
After updating config.mjs
with this:
koboldApiUrl: "https://abcde-12345.proxy.runpod.net/",
oobaStreamUrl: "ws://123.123.1.123:12345/api/v1/stream",
I can now connect, but I get this error in simple-proxy-for-tavern
whenever I try to chat:
TypeError: messages.findLast is not a function
at addMetadataToMessages (file:///Users/BenJackGill/Dev/ai/simple-proxy-for-tavern/src/parse-messages.mjs:210:24)
at parseMessages (file:///Users/BenJackGill/Dev/ai/simple-proxy-for-tavern/src/parse-messages.mjs:237:21)
at getChatCompletions (file:///Users/BenJackGill/Dev/ai/simple-proxy-for-tavern/src/index.mjs:417:56)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Server.<anonymous> (file:///Users/BenJackGill/Dev/ai/simple-proxy-for-tavern/src/index.mjs:561:9)
And also this error in Silly Tavern itself:
Error: Request failed with status code 501
I am trying to stream from a runpod.io sever that is hosting oobabooga.
I updated
config.mjs
like this (using a fake IP here but you get the idea):But it gives this error when connecting:
Judging from that message, it never even tries to stream from Ooba. All of those attempts are for other backends. Ooba is not there.
I also tried changing
backendType: null
tobackendType: "ooba"
but it had no effect.So how do I use ooba as a backend?