Replace the hand-written opencode-go route records with an observed or docs-read source

Đang mở
#747 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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
api, backend

Hướng nghiên cứu

Start in src/server/providers/probes/ and read the legacy opencode-go records alongside what #742 changed, then check how other providers' probes prove a route so you can tell an observed record from a typed one. OpenCode's go.mdx gives only the base path, so either add OPENCODE_GO_API_KEY as a Worker secret and write a route-proving probe, or find an OpenCode page listing :generateContent and :streamGenerateContent. Done means no typed records remain under src/server/providers/probes/ and /v1/status no longer reports them as stale.

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

Mô tả

Problem

After #742 the only hand-written probe records left are the legacy opencode-go ones under src/server/providers/probes/. They bind the :generateContent and :streamGenerateContent routes on opencode-go/gemini-4-argon-contributor and set that row's trainsOnRequestData. Nothing re-dates them, so /v1/status counts them as stale probes from 2027-01-22. OpenCode's go.mdx states only the base path, and the Worker holds no OpenCode Go key.

Ask

Observe the routes from the Worker (needs OPENCODE_GO_API_KEY as a Worker secret and a probe that can prove a route), or find an OpenCode page that states them, then delete the records.

Acceptance

  • No file under src/server/providers/probes/ holds a typed record.
Ngôn ngữ chính
TypeScript
Star
0
Fork
1
Merge trung bình
5 giờ 40 phút
Pull request đã merge (30 ngày)
193

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 TanStack/schemas

Tất cả issue của TanStack/schemas

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.