-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Pretty unique situation here causing this bug. My employer hosts a local proxy for llms, which I use as a custom provider in opencode. There are different endpoints for different regions and when your on internal vs external networks. Because of this, I use opencode's env var loading support in my config to change the base URL. In my opencode config, this is defined as "baseURL": "{env:CUSTOM_API_URL}",, and I can use the provider just fine. When checking the logs from dcp, it is filled with the following:
2025-11-25T18:53:46.057Z INFO janitor: Model: custom/gemini-2.5-flash | source=config
2025-11-25T18:53:46.061Z ERROR janitor: Analysis failed | error="{env:CUSTOM_API_URL}/chat/completions" cannot be parsed as a URL.
I may look into fixing this myself if I get time, but wanted to report it first.
Metadata
Metadata
Assignees
Labels
No labels