factor_agent.llm.openai_compatible.OpenAICompatibleBackend.from_config#

classmethod OpenAICompatibleBackend.from_config(spec)[source]#

Build from a role’s config: model, base_url and optionally api_key_env, max_tokens or max_completion_tokens, reasoning_effort and timeout_seconds.