LLMProviderEditorActivity

Activity for creating and editing LLM providers.

Inherits octomy::activity::PageActivity
Group libllm

Declared in src/libs/libllm/llm/ui/LLMProviderEditorActivity.hpp.

Detailed description

Presents a form for editing provider connection details (name, type, credentials, base URL) with type-specific fields. Includes test connection, fetch models, and an embedded model list for the provider being edited.

An online provider has a kind, a wire protocol, a self-hosted flag and a base URL (llm-openai-compatible §OCP-G1). Only a Custom provider can change its protocol and its flag. "Self-hosted server" in the kind list is a preset, not a kind: a Custom provider with the OpenAI protocol that is self-hosted (§OCP-G2).

See also LLMModelEditorActivity, LLMListActivity.