Skip to content

Add model routing, personas, and workspace chat deep links - #1981

Open
Bionic711 wants to merge 18 commits into
Developmentfrom
feature/modelpersonas
Open

Bionic711 wants to merge 18 commits into
Developmentfrom
feature/modelpersonas

Conversation

@Bionic711

Copy link
Copy Markdown
Collaborator

Summary

  • Add per-model custom endpoint configuration and routing, including provider/auth selection, CA bundle support, endpoint diagnostics, previews, and Classic/V2 parity across global, personal, and group scopes.
  • Add model personas with Markdown authoring, visibility controls, picker previews, runtime injection, and compatible handling across chat, agents, and orchestration.
  • Add server-backed workspace chat deep links that capture an exact agent/model, model reasoning effort, and either a whole personal/group/public workspace or explicit documents. Links support selectable expiry, fresh authorization, creator revocation, and Control Center administration.
  • Include streaming/replay, documentation, deployer, and regression-test updates. Opened as a draft because feature/modelpersonas is currently 14 commits behind Development at PR creation time.

Linked issue

Refs #1929

Release Notes & Latest Features

  • New Feature
  • Bug Fix
  • UI Enhancement
  • Breaking Change
  • Internal only

Is this visible to end users?

  • Yes
  • No

Is this admin-facing (Admin Settings, governance, deployment, config)?

  • Yes
  • No

Should this become a Latest Feature card?

  • Yes
  • No
  • Already added

Screenshot needed for the card?

  • Yes
  • No
  • Attached

Version bump

  • application/single_app/config.py VERSION third segment bumped to 0.261.474, or not needed because this is docs-only
  • deployers/version.txt bumped to 1.0.40, or not needed because deployers/ was not changed

Testing / validation

  • python -m pytest functional_tests/test_workspace_chat_links.py functional_tests/test_reasoning_effort_initial_sync.py functional_tests/test_chat_agent_workspace_launch_selection.py functional_tests/test_v2_document_source_selection.py -q — 48 passed.
  • npm --prefix application/v2_ui run build — passed; Vite emitted the existing large-chunk warning only.
  • python functional_tests/route_tests/test_route_blueprint_policy_inventory.py — 15/15 passed.
  • python functional_tests/route_tests/test_route_unauthenticated_policy_contract.py — 10/10 passed.
  • python functional_tests/route_tests/test_route_policy_test_coverage.py — 5/5 passed.
  • python functional_tests/test_docs_app_surface_coverage.py — 7/7 passed.
  • python functional_tests/test_docs_site_quality.py — 6/6 passed.
  • python -m pytest ui_tests/test_v2_chat_context_selection.py::test_chat_link_hydrates_exact_setup_and_creates_never_expiring_link ui_tests/test_v2_chat_context_selection.py::test_chat_link_supports_whole_personal_workspace_and_reasoning -q — 2 passed.
  • python -m pytest functional_tests/test_app_version_assertion_guardrails.py functional_tests/test_deployer_version_tracking.py -q — 2 passed.
  • Broken-access-control guardrail — passed for the new backend route/storage boundaries.
  • XSS sink guardrail — passed for the new chat-link V2/Classic modules.
  • az bicep build --file deployers/bicep/main.bicep --outfile deployers/bicep/main.json — passed with existing repository warnings.
  • git diff --check — passed.
  • Classic live Playwright modal test was not run because SIMPLECHAT_UI_BASE_URL and an authenticated storage state were not available in this environment.

Documentation

  • Release notes updated, or not needed
  • Feature documentation updated, or not needed
  • Fix documentation updated, or not needed

Security checklist

  • New Flask routes include @swagger_route(security=get_auth_security())
  • Settings sent to non-admin frontends use sanitize_settings_for_user()
  • Browser JavaScript is served from local SimpleChat static assets only; no CDN-hosted JS
  • No secrets, keys, connection strings, or local-only artifacts are included

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@Bionic711
Bionic711 marked this pull request as ready for review November 26, 2026 04:49

This branch has not been deployed

No deployments
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.

3 participants