Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ All notable changes to **omp-web** (`@kahme247/ompweb`) are documented in this f
- **No blank band above the composer on phones either.** Scrolling to the newest message could also shift the message area itself up, leaving an empty band above the composer until the page was reloaded. Scrolling can no longer shift the message area (Safari 16 and later; older Safari keeps the old behavior).
- **Sending to a session another omp process has open no longer leaves a dead fork.** When omp moved the resumed session to a new file during startup, the tab kept the old id, the event stream failed with "Failed to connect to the agent event stream", the prompt never went, and the forked session was reaped two minutes later. The requested id now stays routable alongside the new one.
- **Changing Advisor keeps a moved session on the right conversation.** A tab still using the pre-move session ID now restarts the current session file on its owning host when toggling Advisor, instead of reopening the original file, selecting another host’s copy, or returning “Session not found” if the original was removed.
- **A failed run no longer shows its error three times.** The duplicate "Request failed" toast is gone. A non-quota error already shown on the current run's assistant message does not also need a shelf notice; standalone errors and errors whose message cannot be confirmed remain visible in the shelf, even after partial output. If the matching assistant message is saved later, it replaces only that run's duplicate notice. Quota handling is unchanged and may show both an inline banner and a shelf notice.

---

Expand Down
2 changes: 1 addition & 1 deletion hooks/useAgentSession-notices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function noticeReducer(state: NoticeState, action: NoticeAction): NoticeS
return { ...state, visible: markOldestNoticeExiting(state.visible) };
case "remove": {
const visible = state.visible.filter((notice) => notice.id !== action.id);
return fillPendingNotices(visible, state.pending);
return fillPendingNotices(visible, state.pending.filter((notice) => notice.id !== action.id));
}
default:
return state;
Expand Down
Loading
Loading