mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-04 05:25:56 +00:00
Add an optional per-profile User-Agent that overrides the header on every outbound LLM request. When empty (the default), the existing behaviour is unchanged and the default User-Agent is left untouched. The value is trimmed and validated: control characters / newlines (header injection) and values longer than 256 bytes are rejected. Wired through the profile config struct, the Postgres llm_profiles schema, the profile API/DTO, the connection-test path, and the LLM profile form, following the existing session-header field. Addresses part of #154; the fixed-full-URL mode is not included. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| config | ||
| hooks | ||
| lib | ||
| navigation/sidebar | ||
| scripts | ||
| stores/preferences | ||
| styles | ||
| proxy.disabled.ts | ||
| proxy.ts | ||