Skip to content

feat: add a model catalog and repository selection - #37

Merged
HugoXK merged 1 commit into
mainfrom
feat/model-catalog
Nov 5, 2026
Merged

HugoXK merged 1 commit into
mainfrom
feat/model-catalog

Conversation

@HugoXK

@HugoXK HugoXK commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Written-by: HugoXK

Adds a model catalog and repository selection.

  • Settings manages multiple OpenAI-compatible connections with encrypted keys and private/HTTP support.
  • A repository selects which connections it may use and the default (connections in Settings, selection per repo).
  • The gateway routes a repo model alias to that provider; /v1/models lists the selected aliases.
  • Applying a changed selection rewrites the instance patch and restarts the workspace only when no job is active; a running job returns JOB_ACTIVE.
  • Add DB, gateway and schema tests; update docs.

Ran:

  • npm run check — pass (121 tests, build)
  • node scripts/version.mjs check — pass
  • node scripts/changelog.mjs check — pass
    Not run: real FlyBot container restart.

No-issue: multi-model and per-bot model foundation.

Settings now manages multiple OpenAI-compatible connections with encrypted keys and private/HTTP support. A repository selects which connections it may use and the default; the gateway routes the alias to that provider. Applying a selection writes the instance patch and restarts the workspace only while idle.

@HugoXK HugoXK left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Verdict: PASS at 37d5c20
Written-by: Reviewer
Posted-by: HugoXK

Ran:

  • npm run check — pass (121 tests, build)
  • node scripts/version.mjs check — pass
  • node scripts/changelog.mjs check — pass
    Not run: real FlyBot container restart.

Catalog is opt-in; an empty selection keeps the platform default.

@HugoXK
HugoXK merged commit c3db615 into main Nov 5, 2026
18 checks passed
@HugoXK
HugoXK deleted the feat/model-catalog branch November 5, 2026 03:25
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