Skip to content
Merged
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
5 changes: 2 additions & 3 deletions apps/web/src/components/ChatView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1149,10 +1149,9 @@ export default function ChatView({ threadId }: ChatViewProps) {
const keybindings = serverConfigQuery.data?.keybindings ?? EMPTY_KEYBINDINGS;
const availableEditors = serverConfigQuery.data?.availableEditors ?? EMPTY_AVAILABLE_EDITORS;
const providerStatuses = serverConfigQuery.data?.providers ?? EMPTY_PROVIDER_STATUSES;
const activeProvider = activeThread?.session?.provider ?? "codex";
const activeProviderStatus = useMemo(
() => providerStatuses.find((status) => status.provider === activeProvider) ?? null,
[activeProvider, providerStatuses],
() => providerStatuses.find((status) => status.provider === selectedProvider) ?? null,
[selectedProvider, providerStatuses],
);
const activeProjectCwd = activeProject?.cwd ?? null;
const activeThreadWorktreePath = activeThread?.worktreePath ?? null;
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/chat/ProviderHealthBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const ProviderHealthBanner = memo(function ProviderHealthBanner({
status.status === "error"
? `${providerLabel} provider is unavailable.`
: `${providerLabel} provider has limited availability.`;
const title = providerLabel === "Codex" ? "Codex provider status" : `${providerLabel} status`;
const title = `${providerLabel} provider status`;

return (
<div className="pt-3 mx-auto max-w-3xl">
Expand Down