Add Custom model endpoint provider with explicit API types
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Summary
Add a Custom provider alongside Azure OpenAI, Foundry (classic), and New Foundry in the existing multi-model endpoint system. Custom endpoints must use an explicit API type instead of relying on endpoint-path or model-name inference.
User Value
Administrators and permitted workspace managers can connect SimpleChat to additional model endpoints while retaining the existing endpoint governance, model selection, secret storage, testing, and model metadata experience. All user-facing product language must call this provider Custom.
Proposed Behavior
- Add
Customto the provider list for global, personal, and group model endpoints. - Require a Custom API type:
OpenAI API,Azure OpenAI API, orAnthropic. - Support API key authentication only for Custom endpoints in the initial release.
- Keep the endpoint FQDN/base URL field and show only protocol-relevant connection fields.
- Do not offer model discovery or Fetch Models for Custom endpoints; models are entered manually.
- Use a model name/ID for OpenAI API and Anthropic rows, and a deployment name for Azure OpenAI API rows.
- Preserve common model metadata: display name, response length, description, enabled state, and icon.
- Route inference, streaming, Semantic Kernel agents, workflows, summaries, metadata extraction, and other multi-endpoint consumers using the saved Custom API type.
- Keep Test Connection available and construct the correct request for each API type.
- Store API keys through the existing Key Vault-backed endpoint secret flow and strip secrets from all frontend payloads.
- Preserve all existing Azure OpenAI and Foundry endpoint behavior and saved endpoint documents.
Acceptance Criteria
- Admin, personal workspace, and group workspace endpoint UIs expose
Customwith the three supported API types. - Custom authentication is fixed to API key and identity/model-discovery controls are unavailable.
- Custom models are added manually with protocol-correct model/deployment fields and shared metadata fields.
- OpenAI API requests use the configured model name and OpenAI-compatible client contract.
- Azure OpenAI API requests use the configured deployment name and Azure OpenAI client contract.
- Anthropic requests use the configured model name and Anthropic Messages API contract.
- Test Connection works for each Custom API type without exposing provider error details or secrets.
- Chat, streaming, local agents, workflows, tabular/background work, summaries, and metadata extraction preserve and honor the Custom API type.
- Endpoint normalization, frontend sanitization, Key Vault secret preservation, governance checks, and backward compatibility are covered by regression tests.
- UI automation covers provider/type selection, conditional fields, manual model entry, persistence, and test-request payloads.
- Feature documentation and current-version metadata are updated.
Notes
- No model-list discovery is in scope for Custom endpoints.
- No Custom authentication method beyond API key is in scope for the initial release.
- Existing Foundry protocol inference remains for legacy endpoint records; new Custom records should use their explicit API type.
- Product copy should not characterize Custom endpoints by hosting location or ownership model.
- Ngôn ngữ chính
- Python
- Star
- 157
- Fork
- 117
- Merge trung bình
- 4 giờ 19 phút
- Pull request đã merge (30 ngày)
- 200
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay 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 microsoft/simplechat
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/simplechat#1491 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/simplechat#1370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
V2: triage multi-turn UI failures and make saved-memory orchestration validation reliableCó thể đã có người làm @paullizer đã nhận hôm nay. Đang mởbug P1
microsoft/simplechat#1785 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hyphenated action names fail Semantic Kernel loading silently; add permission-aware recovery in both chat UIsCó thể đã có người làm @paullizer đã nhận 1 ngày trước. Đang mởbug enhancement P1
microsoft/simplechat#1781 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
V2 workspace documents: fix public source discovery and verify metadata-analysis parity across scopesCó thể đã có người làm @paullizer đã nhận 1 ngày trước. Đang mởbug P1
microsoft/simplechat#1778 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/simplechat
Issue tương tự
-
Use mhctools predictor_required=False for saved-result rescoringCó thể đã có người làm @iskandr đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4051 · 1 bình luận ·
-
bug documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
awslabs/visual-asset-management-system#514 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backend bug spec:REQ-053
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
nolte/kamerplanter#2547 ·
Maintainer thường phản hồi trong vòng 1 ngày