Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

bug: codex model variants are out of order

Đang mở
#145 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@c7ozkan đang làm issue này rồi.

Từ ngày 22/3/2026.

  • #277 của @c7ozkan — đang mở
  • #311 của @rohanranjan0902 — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
api, backend

Hướng nghiên cứu

Start by querying the /v1/agents/codex/models endpoint with the curl command in the issue, then trace the TypeScript implementation that assembles the model variants. Done means every model returns its supported variants in low, medium, high, xhigh order, without changing the subset of variants.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

Codex model variants are returned in a non-logical order.

Repro

curl -sS localhost:2468/v1/agents/codex/models | jq

Current response includes variants like:

  • gpt-5.2-codex: ["high", "low", "medium", "xhigh"]
  • gpt-5.2: ["high", "low", "medium", "xhigh"]
  • gpt-5.1-codex-max: ["high", "low", "medium", "xhigh"]

Expected

Variants should be returned in a stable logical order (ascending reasoning effort), e.g.:

  • low, medium, high, xhigh

For models that only support a subset, preserve that same ordering of the subset.

Why this matters

The UI currently reflects backend ordering, so the selector appears inconsistent and confusing.

Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
131
Merge trung bình
7 giờ 40 phút
Pull request đã merge (30 ngày)
29

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rivet-dev/agents

Tất cả issue của rivet-dev/agents

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.