Skip to content

feat: LLM-26878 Add “Fast” mode for Codex-agent#133

Open
NikolaiSviridov wants to merge 1 commit intomainfrom
nikolaisv/main/LLM-26878-Add-“Fast”-mode-for-Codex-agent

Hidden character warning

The head ref may contain hidden characters: "nikolaisv/main/LLM-26878-Add-\u201cFast\u201d-mode-for-Codex-agent"
Open

feat: LLM-26878 Add “Fast” mode for Codex-agent#133
NikolaiSviridov wants to merge 1 commit intomainfrom
nikolaisv/main/LLM-26878-Add-“Fast”-mode-for-Codex-agent

Conversation

@NikolaiSviridov
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/ModelId.ts

static fromString(modelId: string): ModelId {
const bracketMatch = modelId.match(/^(?<model>[^\[]+?)(?:\[(?<effort>[^\]]+)\])?$/);
const bracketMatch = modelId.match(/^(?<model>[^\[]+)\[(?<effort>[^\]]+)](?:@(?<serviceTier>.+))?$/);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is already too complicated. Especially we leak into the "protocol" codex-specific details.
I would rather expose this as a new model in the picker and would remap it internally into the same model with fast service. Though I'd avoid mapping based on the model id parsing.

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.

2 participants