Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
Merge remote-tracking branch 'origin/main' into HEAD
thinhlpg2330b3e649ae
diff --cc src-tauri/src/core/cli/tui.rsindex a0f979e72,b9db2ad74..0b3739d8f--- a/src-tauri/src/core/cli/tui.rs+++ b/src-tauri/src/core/cli/tui.rs@@@ -9613,9 -9825,15 +9825,18 @@@ async fn apply_stream_eventcurrent: &mut Option<CurrentRun>,) {note_claude_alias_if_engaged(app);+ if let Some(ev) = &ev {+ crate::core::agent::otel::observe(ev);+ }+ // `Done`, `Error` and a closed stream end the run without passing through+ // `App::apply`, so they would otherwise leave `[retrying]` over an idle+ // session once the retries run out.+ if matches!(+ ev,+ None | Some(StreamEvent::Done { .. } | StreamEvent::Error { .. })+ ) {+ app.retrying = None;+ }match ev {Some(StreamEvent::Done { stop_reason, usage }) => {app.on_done(stop_reason, usage);