Initializes the LLM comparison workspace for a conversation.
POST/studio/compare_llm
Creates a new conversation context (if needed), prepares an empty starter message, loads the user's saved chat prompts, and applies the user's last selected provider/model defaults.
- Requires an authenticated user; returns
{ Error = "Not Logged in" }when missing. - Always seeds
Messageswith a placeholder user message tied to the current user. - Loads chat prompts from the database for the current user.
- Resolves provider/model defaults via
GetSelectedProviderConfigs; falls back toopenai / gpt-5.2-chat-latestif none exist. - Populates available provider groups for the
Chatservice type.
Request
Responses
- 200
- 401
- 403
OK
Unauthorized - missing or invalid credentials.
Forbidden - authenticated but missing required role or policy.