Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coder/coder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: coder/coder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: add-model-column-to-aibridge-logs
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 20 files changed
  • 1 contributor

Commits on Dec 10, 2025

  1. feat(site): add model column and filter to AI Bridge logs table

    - Add Model column to the logs table between User and Prompt columns
    - Create model filter with provider-dependent options:
      - OpenAI models: GPT-4o, GPT-4o Mini, GPT-4 Turbo, GPT-4, GPT-3.5 Turbo, o1 series
      - Anthropic models: Claude Sonnet 4, Claude 3.7/3.5/3 Sonnet, Claude 3.5/3 Haiku, Claude 3 Opus
    - Model filter shows only models from selected provider, or all models if none selected
    - Clear model selection when provider changes
    - Update Storybook stories
    matifali committed Dec 10, 2025
    Configuration menu
    Copy the full SHA
    63d6b93 View commit details
    Browse the repository at this point in the history
  2. feat(aibridge): fetch models dynamically from database

    - Add ListAIBridgeDistinctModels database query that returns distinct
      model names, optionally filtered by provider
    - Add /api/v2/aibridge/models endpoint to expose the query via API
    - Update frontend useModelFilterMenu to fetch models from API instead
      of using hardcoded model list
    - Implement proper dbauthz authorization for the new query
    matifali committed Dec 10, 2025
    Configuration menu
    Copy the full SHA
    4902d1d View commit details
    Browse the repository at this point in the history
Loading