Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Decode the test's engine config as the registry does

milind-soni0d7b49ea7d4b
diff --git a/server/drivers/ollama.test.ts b/server/drivers/ollama.test.ts
index 0983af0586..ea49eb2754 100644
--- a/server/drivers/ollama.test.ts
+++ b/server/drivers/ollama.test.ts
@@ -201,7 +201,7 @@ describe("an OpenAI-compatible server that is really Ollama", () => {
describe("the chat engine on Ollama", () => {
const create = (config: Record<string, unknown>, environment: Record<string, string> = {}) => OpenAICompatDriver.create({
- instanceId: randomUUID(), displayName: undefined, enabled: true, config, environment,
+ instanceId: randomUUID(), displayName: undefined, enabled: true, config: OpenAICompatDriver.decodeConfig(config), environment,
});
it("needs no key, lists the pulled models with their facts, and is available", async () => {