Skip to content

openai base url as settings #96

openai base url as settings

openai base url as settings #96

Triggered via push June 29, 2024 01:51
Status Failure
Total duration 2m 25s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
tests/unit/config.test.ts > Load default settings: tests/unit/config.test.ts#L19
AssertionError: expected { general: { …(2) }, …(7) } to strictly equal { general: { …(2) }, …(7) } - Expected + Received Object { "appearance": Object { "chat": Object { "fontSize": 3, "theme": "openai", }, }, "commands": Object { "engine": "", "model": "", }, "engines": Object { "anthropic": Object { "model": Object { "chat": "", }, "models": Object { "chat": Array [], "image": Array [], }, }, "google": Object { "model": Object { "chat": "", }, "models": Object { "chat": Array [], "image": Array [], }, }, "groq": Object { "model": Object { "chat": "", }, "models": Object { "chat": Array [], "image": Array [], }, }, "mistralai": Object { "model": Object { "chat": "", }, "models": Object { "chat": Array [], "image": Array [], }, }, "ollama": Object { - "baseURL": "https://api.ollama.com", "model": Object { "chat": "llama2", }, "models": Object { "chat": Array [], "image": Array [], }, }, "openai": Object { "apiKey": "", - "baseURL": "https://api.openai.com/v1", "model": Object { "chat": "gpt-3.5-turbo", "image": "dall-e-2", }, "models": Object { "chat": Array [], "image": Array [], }, "tts": Object { "model": "tts-1", "voice": "alloy", }, }, }, "general": Object { "keepRunning": true, "language": "", }, "instructions": Object { "default": "You are a helpful assistant. You are here to help the user with any questions they have.", "titling": "You are an assistant whose task is to find the best title for the conversation below. The title should be just a few words.", "titling_user": "Provide a title for the conversation above. Do not return anything other than the title. Do not wrap responses in quotes.", }, "llm": Object { "autoVisionSwitch": true, "conversationLength": 5, "engine": "openai", }, "plugins": Object { "browse": Object {}, "dalle": Object { "enabled": true, }, "python": Object {}, "tavily": Object {}, }, "shortcuts": Object { "anywhere": Object { "ctrl": true, "key": "Space", "shift": true, }, "chat": Object { "ctrl": true, "key": "Space", }, "command": Object { "alt": true, "ctrl": true, "key": "Space", }, }, } ❯ tests/unit/config.test.ts:19:18
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: JesseTG/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.