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
4 changes: 2 additions & 2 deletions packages/cli/src/ui/AppContainer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -943,11 +943,11 @@ describe('AppContainer State Management', () => {

describe('Cancel Handler (issue #3204)', () => {
// The cancel handler is wired through useGeminiStream's onCancelSubmit
// arg (positional index 14 — see the useGeminiStream call site in
// arg (positional index 15 — see the useGeminiStream call site in
// AppContainer.tsx). We capture it via mockImplementation so a future
// signature change surfaces as a clear test failure rather than silently
// grabbing the wrong callback.
const ON_CANCEL_SUBMIT_ARG_INDEX = 14;
const ON_CANCEL_SUBMIT_ARG_INDEX = 15;
type CapturedCancelSubmit = (info?: {
pendingItem: HistoryItemWithoutId | null;
lastTurnUserItem: { id: number; text: string } | null;
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/ui/AppContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,7 @@ export const AppContainer = (props: AppContainerProps) => {
historyManager.history,
historyManager.addItem,
config,
isConfigInitialized,
settings,
onDebugMessage,
handleSlashCommand,
Expand Down
Loading
Loading