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] Per-user chat preferences (response depth, code visibility, custom instructions)

Đang mở
#1,242 0 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
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
ai, full-stack

Hướng nghiên cứu

Start by tracing the Settings page, User model, and the agent's request-time system-prompt assembly described in the proposal. Done means per-user storage and editing for six response dimensions plus the 1000-character custom-instructions field, with preferences applied softly and higher-priority safety, citation, and diagram requirements preserved.

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

Mô tả

Feature

The need
Sourcebot's chat answers are great for engineers but can be too dense
for PMs and VPs on our team. The same question ("how does service X
work?") needs a different shape depending on who's asking — concept-level
without code for a VP, full implementation detail for an engineer.
Today the agent has one voice for everyone.

Proposal
Add a Chat Preferences page in Settings where each user configures how
Sourcebot talks to them. Two parts:

  1. Six response-style dimensions, each a radio with 3 levels:

    • Depth: Full detail / Concept-level / One-paragraph summary
    • Code visibility: Show snippets / Describe in prose / No code at all
    • Vocabulary: Jargon OK / Define terms / Business framing
    • Citation density: Every claim / Key claims / Just sources at end
    • Output structure: Headers+code / Prose+bullets / TL;DR + 3 key points
    • Diagrams: When useful / Often / Almost always
  2. Custom instructions — a free-text field (1000 char limit) for
    anything the dimensions don't capture. E.g. "use product analogies",
    "cite service owners alongside file refs", "I'm new to the codebase
    so define unfamiliar acronyms".

Preferences are stored per-user on the User model. The agent reads them
at request time and renders a <user_preferences> block in the system
prompt that biases responses accordingly.

Bias is soft, not a hard rule. If a user with "no code" set asks "show
me the function", the agent should still show the code. Safety, citation,
and diagram-generation requirements stay above user preferences.

Open questions for the team

  • Anonymous users — sign-in-only in V1 sounds right, but flag if you'd
    prefer a localStorage path for anon
  • Naming: "Chat Preferences" or "Custom Instructions" — the latter
    matches ChatGPT/Cursor convention but is narrower

Future considerations

  • Preset buttons that fill the radios (PM preset, Engineer preset, VP preset)
  • Per-thread override (this chat needs VP-style, override my defaults)
  • Per-message override (just this once, be verbose)
  • Org-admin default preferences for everyone in the org
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.