@hashbrownai/core
Version:
Runtime helpers for Hashbrown AI
17 lines • 764 B
TypeScript
export interface StatusState {
isReceiving: boolean;
isSending: boolean;
isRunningToolCalls: boolean;
error: Error | undefined;
exhaustedRetries: boolean;
}
export declare const initialStatusState: StatusState;
export declare const reducer: (state: StatusState | undefined, action: {
type: string;
}) => StatusState;
export declare const selectIsReceiving: (state: StatusState) => boolean;
export declare const selectIsSending: (state: StatusState) => boolean;
export declare const selectIsRunningToolCalls: (state: StatusState) => boolean;
export declare const selectError: (state: StatusState) => Error | undefined;
export declare const selectExhaustedRetries: (state: StatusState) => boolean;
//# sourceMappingURL=status.reducer.d.ts.map