bk-cli skills {search, download} 对接bkaidev

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

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
22/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
api, cli

Hướng nghiên cứu

The issue asks to wire bk-cli skill search and skill download to the bkaidev list_skills API, but the approach is undecided and the auth problem is unresolved: the endpoint seems to accept only personal tokens, while existing app_code+app_secret, bk_token and access_token callers are rejected. Start with the gateway definition in the attached bk_apigw_resources_bkaidev.yaml and the Go code that makes skill calls. Done would need an agreed auth path and a working search call, so confirm the design with maintainers before coding.

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

Mô tả

bk_apigw_resources_bkaidev.yaml

bk-cli skill search --> 对接 bkaidev的 list_skills接口


问题:

Image

这个接口门槛很高, 默认只有个人token 能调通
目前存量很多使用的app_code+app_secret+bk_token 或者access_token 登录,调用都会被拦

先录单,做的时候具体再看怎么处理

Ngôn ngữ chính
Go
Star
9
Fork
7
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
4

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

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 TencentBlueKing/bk-cli

Tất cả issue của TencentBlueKing/bk-cli

Issue tương tự

Thêm issue về Go

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.