Skip to content

Add Agent Settings UI for AI search#2320

Draft
Mbeaulne wants to merge 1 commit into
05-27-agent-settings-ai-rerank-servicefrom
05-27-agent-settings-ui
Draft

Add Agent Settings UI for AI search#2320
Mbeaulne wants to merge 1 commit into
05-27-agent-settings-ai-rerank-servicefrom
05-27-agent-settings-ui

Conversation

@Mbeaulne
Copy link
Copy Markdown
Collaborator

@Mbeaulne Mbeaulne commented May 27, 2026

Tophatting

Manual tophatting recommended because this PR adds a settings screen.

  1. Turn on the Components V2 beta flag.
  2. Open Settings → Agent Configuration.
  3. Try saving without a model and confirm the inline error is shown.
  4. Enter a provider URL, API key, and model id, then click “Test connection”.

What changed

Adds the Agent Settings screen for configuring AI search.

Users can enter:

  • API base URL
  • API key
  • model id

The screen can test whether the provider is reachable and whether the model exists.

Why

Components V2 AI search should work with a user-provided OpenAI-compatible API. This keeps credentials out of the app bundle and lets users choose their own provider/model.

Test plan

  • Turn on the Components V2 beta flag
  • Open Settings → Agent Configuration
  • Try saving without a model and confirm inline validation appears
  • Enter a provider URL/key/model and click “Test connection”
  • Run pnpm exec vitest run src/routes/Settings/sections/AgentSettings.test.tsx
  • Run pnpm run typecheck --pretty false

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

🎩 Preview

A preview build has been created at: 05-27-agent-settings-ui/0417a6f

Copy link
Copy Markdown
Collaborator Author

Mbeaulne commented May 27, 2026

@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ai-rerank-service branch from 8d45929 to 38e0b45 Compare May 27, 2026 20:29
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ui branch 2 times, most recently from 38b163d to bb24190 Compare May 27, 2026 23:18
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ui branch from bb24190 to 839c5d2 Compare May 28, 2026 17:25
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ai-rerank-service branch from 3cbeeb6 to 26745bd Compare May 28, 2026 18:37
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ui branch 2 times, most recently from 0e1f178 to 496907a Compare May 28, 2026 18:40
Comment thread src/routes/Settings/sections/AgentSettings.tsx
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ui branch from 496907a to 718a81a Compare May 29, 2026 14:38
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ai-rerank-service branch from 26745bd to 0f078bc Compare May 29, 2026 14:38
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ui branch 3 times, most recently from 5545cc2 to 254c824 Compare May 29, 2026 15:27
@Mbeaulne Mbeaulne force-pushed the 05-27-agent-settings-ui branch from 254c824 to 0417a6f Compare May 29, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant