Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FR] Per-user chat preferences (response depth, code visibility, custom instructions)

Aperta
#1,242 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
ai, full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
3.9k
Fork
374
Merge medio
21h 18m
PR unite (30g)
39

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sourcebot-dev/sourcebot

Tutte le issue di sourcebot-dev/sourcebot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.