[idea] suppport opencode go as a provider

Đang mở
#2,386 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
40/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start with the provider configuration and the backend scraper API code that handles OpenCode Go, since the issue says it is listed as a provider but does not work. Check how requests are built so they send a custom user agent and an x-opencode-session header per conversation. Done when requests to the OpenCode Go endpoint succeed with those headers set.

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

Mô tả

enhancement
Which part?

Backend / scraper API

What would you like?

it would be great if we could use our opencode go sub with this.

currently, it is listed as a provider, but does not work:

Image

according to the docs, using opencode go as an api requires:

Send typical coding agent traffic
Identify itself with its own user agent, such as my-coding-agent/1.0, rather than a generic SDK or HTTP-library name.
Send a stable session ID in x-opencode-session for each conversation so we can optimize routing and prompt caching.

thank you

Why would it help?

No response

Ngôn ngữ chính
Python
Star
16.3k
Fork
1.6k
Merge trung bình
11 giờ 15 phút
Pull request đã merge (30 ngày)
167

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 MODSetter/SurfSense

Tất cả issue của MODSetter/SurfSense

Issue tương tự

Thêm issue về Python

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.