feat(clients): reload provider sessions per thread without restarting T3 Code #6162
ClosedDavidIlie(GitHub profile, opens in a new tab)wants to merge 3 commits into
main fromrefs/pull/6162/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
- apps/web/src/hooks/useReloadThreadSession.ts line 14Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -0,0 +1,14 @@1+import type { ScopedThreadRef } from "@t3tools/contracts";2+import {3+ isAtomCommandInterrupted,4+ squashAtomCommandFailure,5+} from "@t3tools/client-runtime/state/runtime";6+import { threadSessionReloadAvailability } from "@t3tools/client-runtime/state/thread-session";7+import { useCallback } from "react";8+9+import { stackedThreadToast, toastManager } from "../components/ui/toast";10+import { readThreadShell } from "../state/entities";11+import { threadEnvironment } from "../state/threads";12+import { useAtomCommand } from "../state/use-atom-command";13+14+export function useReloadThreadSession() {
juliusmarminge closed this
Sign in to join this conversation.


Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
ef6ee823-29b7-47ea-9318-3c49bc055666You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share