-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I am running the ghcr.io/prantlf/ovai Docker container on Windows 11 using PowerShell. Despite having a model-defaults.json file locally, the container fails to read it, and API POST requests return a decoding error.
System Information:
- OS: Windows 11 Pro, latest updates installed
- Docker version: Docker Desktop 4.x (running on Windows)
- PowerShell version: 7.x
- Container image:
ghcr.io/prantlf/ovai(latest) - Running on: Local Windows 11 machine with volume mounts for config files
*Steps **
Ran the docker:
docker run --name ovai -p 22434:22434
-e DEBUG=ovai,ovai: -e GOOGLE_APPLICATION_CREDENTIALS=/google-account.json
-e VERTEXAI_PROJECT=testingtwelve-467801 -e VERTEXAI_LOCATION=us-central1
-v D:\DexAI\TeonAIWork\ovai\google-account.json:/google-account.json `
ghcr.io/prantlf/ovai
Saw the error log about model-defaults.json:
2025/08/08 21:42:46.572466 read model-defaults.json
2025/08/08 21:42:46.572567 reading model-defaults.json failed: open model-defaults.json: no such file or directory
2025/08/08 21:42:46.572769 read google-account.json
2025/08/08 21:42:46.574219 1704 characters of private key parsed to 256 bytes
2025/08/08 21:42:46.574249 version 0.18.0 runs in /
2025/08/08 21:42:46.574386 listen on http://localhost:22434
Tried sending the request:
curl -X POST http://localhost:22434/api/generate `
-H "Content-Type: application/json" `
-H "Accept: application/json" `
-d '{ "model": "gemini-2.5-flash", "prompt": "Tell me a joke about programmers.", "images": [], "think": false, "stream": false }'
Receive the error response: {"error":"decoding response body failed"}
Happens with every model i try..
Metadata
Metadata
Assignees
Labels
No labels