Go client: expose EngineInfo.kind and EngineInfo.protocol (the service already fills them)
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
Hướng nghiên cứu
Bắt đầu với client/opensysml/engines.go và định nghĩa EngineInfo trong api/proto/sysml.proto; kiểm tra cách ListEngines ánh xạ các trường phản hồi hiện có. Cập nhật ánh xạ của Go client và kiểm tra các trường hợp công cụ tích hợp sẵn và công cụ đã đăng ký trong client/opensysml/engines_test.go. Hoàn tất khi cả hai giá trị khớp với service và các trường hiện có vẫn giữ nguyên; issue cũng yêu cầu ô Go trong bài kiểm tra parity và tài liệu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Disclaimer, this issue was detected and written by an AI
Summary
ListEnginesResponse carries each engine's origin and transport:
EngineInfo.kind (built-in, tool, engine, policy, sampler) and
EngineInfo.protocol (-, object, argv+<stdin>, <transport>/<protocol>).
The service fills both. client/opensysml drops them, so an in-process caller
cannot tell an engine's kind or how it is spoken to and falls back to forking
sysml -engines.
Current state
api/proto/sysml.proto::EngineInfo—kind = 9,protocol = 10.client/opensysml/engines.go:12—EngineInfohasName,Authority,
Answers,Bounds,Process,ProcessFound,Ready,Unavailable; no
Kind, noProtocol.ListEnginesatengines.go:115copies fields 1–8 only.
Proposal
- Add
Kind stringandProtocol stringtoEngineInfo, with the proto's
comments, and copye.Kind/e.ProtocolinListEngines. - No capability gate: the fields are part of the existing
enginesresponse.
Tests
client/opensysml/engines_test.go: a service with a built-in engine reports
Kind == "built-in"andProtocol == "-"; a registered tool reports its
manifest kind and<transport>/<protocol>spelling; the undecoded old fields
are unchanged.parity_options_test.go/parity doc: add the Go cell.
Acceptance
-
EngineInfo.Kind/.Protocolmatch the service for built-in and external
engines. - No new capability gate; existing
ListEnginescallers keep working.
- Ngôn ngữ chính
- Go
- Star
- 59
- Fork
- 20
- Merge trung bình
- 10 giờ 23 phút
- Pull request đã merge (30 ngày)
- 897
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Open-MBEE/OpenSysML
-
A model's parse is still paid cold in every process; the library record cache does not cover itĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Open-MBEE/OpenSysML
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
krakenhavoc/cmd_and_ctrl#5853 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flaky test: TestTRTAsyncPrefillFailures/transport reads the token load before prefillDone has released itCó thể đã có người làm @Jackmeson1 đã nhận hôm nay. Đang mởarea/cicd area/gateway kind/misc
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
vllm-project/aibrix#3488 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
projectdiscovery/httpx#2735 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
NuGet registry builds every URL from ROOT_URL, ignoring the host the client usedCó thể đã có người làm @gritse đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày