feat: 更新 sentry 错误上报

This commit is contained in:
claude-code-best
2026-04-03 09:39:25 +08:00
parent 1f0a2e44c8
commit 119518599e
11 changed files with 493 additions and 2 deletions

View File

@@ -2805,7 +2805,8 @@ export function REPL({
})) {
onQueryEvent(event);
}
if (feature('BUDDY')) {
// TODO: implement fireCompanionObserver — companion model reaction after each query turn
if (feature('BUDDY') && typeof fireCompanionObserver === 'function') {
void fireCompanionObserver(messagesRef.current, reaction => setAppState(prev => prev.companionReaction === reaction ? prev : {
...prev,
companionReaction: reaction as string | undefined