[AI-3] Let administrators add, edit and delete models by hand - #24884
[AI-3] Let administrators add, edit and delete models by hand#24884tangopium wants to merge 1 commit into
Conversation
|
Caution The provided work package version does not match the core version Details:
Please make sure that:
|
|
Caution The Enterprise plan field is not set on the work package Details:
Please make sure that:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0e6d4db2e1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
0e6d4db to
cc8a279
Compare
cc8a279 to
1e9e5a9
Compare
1e9e5a9 to
7b53618
Compare
Not every OpenAI-compatible server exposes a model list: a gateway may route /v1/chat/completions and nothing else, in which case the operator knows the model name and OpenProject cannot discover it. This adds hand-entered LlmModel rows with their own form, including capability assertions stored as admin-sourced verdicts that survive re-detection, and an administrator-supplied context window that takes precedence over reported figures. A manual model's identifier may be corrected after the fact; the rename carries every verdict and the connection defaults along, because everything references a model by its identifier string. Discovered models are named by the server and cannot be renamed or deleted here, and a catalogue refresh never withdraws a manual entry. Part 6 of the AI-3 stack. https://community.openproject.org/work_packages/66020
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
7b53618 to
75ff06e
Compare
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
Ticket
AI-3
What are you trying to accomplish?
PR 6 of 11 in the AI-3 stack. Not every OpenAI-compatible server exposes a model list: a gateway may route
/v1/chat/completionsand nothing else. This part lets administrators add, edit and delete models by hand, including capability assertions stored as admin-sourced verdicts and an administrator-supplied context window that takes precedence over reported figures. A manual model's identifier can be corrected later; the rename carries every verdict and the connection defaults along. Discovered models cannot be renamed or deleted here, and a catalogue refresh never withdraws a manual entry.Merge checklist
llm_connectionfeature flagStacked on #24883.