OpenAICompatibleConfigKeys

org.llm4s.config.OpenAICompatibleConfigKeys

Environment-variable names recognised by llm4s-openai-compatible.

These were ConfigKeys.OPENROUTER_BASE_URL and ConfigKeys.DEEPSEEK_* in llm4s-core until the providers moved to their own module (#1132): a key belongs with the code that reads it, so that ConfigKeys does not name variables for a provider that may not be on the classpath.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val DEEPSEEK_API_KEY: String

DeepSeek API key.

DeepSeek API key.

Attributes

val DEEPSEEK_BASE_URL: String

Overrides the DeepSeek API base URL. Defaults to "https://api.deepseek.com".

Overrides the DeepSeek API base URL. Defaults to "https://api.deepseek.com".

Attributes

val OPENROUTER_BASE_URL: String

OpenRouter base URL alias.

OpenRouter base URL alias.

OpenRouter uses the OPENAI_BASE_URL variable - there is no separate OPENROUTER_BASE_URL. Point OPENAI_BASE_URL at your OpenRouter endpoint and configure a named provider with provider = "openrouter".

Attributes