Fix Hunter Companion prompt: natural German answers + domain decision mode
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
This commit is contained in:
BIN
frontend/public/noise.png
Normal file
BIN
frontend/public/noise.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
@ -151,11 +151,11 @@ export function HunterCompanion() {
|
||||
{
|
||||
role: 'system' as const,
|
||||
content:
|
||||
'You are Pounce Hunter Companion. Be concise, tactical, and specific. Help the user hunt undervalued domains, assess risk, and decide BUY/CONSIDER/SKIP. If you need data, ask for it. Never claim you checked external sources unless the user provided the data.',
|
||||
'Du bist der Pounce Hunter Companion. Antworte natürlich und hilfreich auf Fragen (wie ein normaler Chat). Sprache: Deutsch. Ton: klar, freundlich, pragmatisch.\n\nWenn die Frage Domain‑bezogen ist, antworte zusätzlich strukturiert und entscheidungsorientiert:\n- Empfehlung: BUY / CONSIDER / SKIP\n- 3–6 Bulletpoints “Warum”\n- Wenn Informationen fehlen: stelle gezielte Rückfragen.\n\nWichtig: Behaupte niemals, dass du externe Quellen geprüft hast, außer der Nutzer hat dir die Daten gegeben.',
|
||||
},
|
||||
{
|
||||
role: 'system' as const,
|
||||
content: `Context: current_terminal_path=${pathname}. Tier=${tier}.`,
|
||||
content: `Kontext: current_terminal_path=${pathname}; tier=${tier}.`,
|
||||
},
|
||||
]
|
||||
|
||||
@ -166,6 +166,7 @@ export function HunterCompanion() {
|
||||
try {
|
||||
await streamChatCompletion({
|
||||
messages: [...system, ...history, { role: 'user', content: text }],
|
||||
temperature: 0.6,
|
||||
onDelta: (delta) => {
|
||||
setMessages((prev) =>
|
||||
prev.map((m) => (m.id === assistantMsgId ? { ...m, content: (m.content || '') + delta } : m))
|
||||
|
||||
Reference in New Issue
Block a user