[FEATURE] Add Straitly as a native OpenAI-compatible LLM provider

Đang mở Phù hợp với người mới
#9,802 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

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

Từ ngày 25/11/2026.

  • #9803 của @HashimSyedUBC — đ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
78/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, documentation

Hướng nghiên cứu

Tìm bảng OPENAI_COMPATIBLE_PROVIDERS và làm theo các mục openrouter và deepinfra. Thêm Straitly bằng https://api.straitly.ai/v1, STRAITLY_BASE_URL và STRAITLY_API_KEY bắt buộc; sau đó thêm accordion của nhà cung cấp vào docs/edge/{en,ar,ko,pt-BR}/concepts/llms.mdx. Hoàn tất khi cấu hình straitly/<model> được ghi tài liệu hoạt động mà không cần LiteLLM hoặc thiết lập thủ công custom_openai=True và base_url.

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

Mô tả

Feature Area

Integration with external tools

Is your feature request related to a an existing bug? Please link it here.

NA

Describe the solution you'd like

Add straitly to CrewAI's native OPENAI_COMPATIBLE_PROVIDERS table (following the same pattern as openrouter and deepinfra in #7459) so users can configure Straitly without installing LiteLLM or manually passing custom_openai=True and base_url:

  • Base URL: https://api.straitly.ai/v1 (overridable via STRAITLY_BASE_URL)
  • API key env var: STRAITLY_API_KEY (required)
  • Model usage: LLM(model="straitly/claude-sonnet-5-5") or LLM(model="straitly/deepseek/deepseek-v4-1-flash-1017") (or explicit provider="straitly")
  • Docs accordion entry in docs/edge/{en,ar,ko,pt-BR}/concepts/llms.mdx
Describe alternatives you've considered

Using LLM(model=..., custom_openai=True, base_url="https://api.straitly.ai/v1", api_key=...) works today, but requires repeating the base URL and key wiring on every LLM instance instead of supporting straitly/<model> natively.

Additional context

Straitly is an OpenAI-compatible AI gateway providing access to 150+ models through one API key (https://api.straitly.ai/v1). Public model catalog: https://straitly.ai/models and docs: https://straitly.ai/docs/quickstart.

Willingness to Contribute

Yes, I'd be happy to submit a pull request

Ngôn ngữ chính
Python
Star
61.2k
Fork
9.2k
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
180

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 crewAIInc/crewAI

Tất cả issue của crewAIInc/crewAI

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.