Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FR] Support Custom Instructions per LLM Configuration (Multiple Personas on Same Provider)

Đang mở
#1,167 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
48/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ệ
typescript
Lĩnh vực
ai, backend-api-design

Hướng nghiên cứu

Start by tracing how the models configuration is represented and consumed by the web UI and MCP; the issue names no source files or tests. Done means two configurations can share a provider, base URL, model, and API key while applying distinct instructions and remaining selectable as separate personas.

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

Mô tả

ask_sb Feature

Request support for defining custom instructions per LLM configuration, allowing multiple logical “personas” (e.g. engineering vs product) to be configured against the same underlying LLM provider and API key.
This would enable teams to reuse a single LLM backend while offering different response styles through Sourcebot (web UI and MCP).

Problem Statement
Sourcebot supports configuring one or more language models, but in practice:

Teams often want multiple response styles, e.g.:
-Engineering‑focused (code‑level, file paths, implementation details)
-Product / business‑focused (high‑level, conceptual, minimal code)

These styles typically use:
-the same LLM provider
-the same API key
-the same underlying model

Example:

"models": [
{
"name": "engineering",
"provider": "openai",
"baseUrl": "...",
"model": "...",
"apiKey": { "env": "LLM_API_KEY" },
"instructions": "Answer as an engineer with detailed code references..."
},
{
"name": "product",
"provider": "openai",
"baseUrl": "...",
"model": "...",
"apiKey": { "env": "LLM_API_KEY" },
"instructions": "Answer at a high level for non-engineering audiences..."
}
]

Ngôn ngữ chính
TypeScript
Star
3.9k
Fork
374
Merge trung bình
21 giờ 18 phút
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 sourcebot-dev/sourcebot

Tất cả issue của sourcebot-dev/sourcebot

Issue tương tự

Thêm issue về TypeScript

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.