mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
Cleanup: Remove low value StreamingContextType interface. (#585)
This commit is contained in:
parent
05a49702d8
commit
00805cb2cd
6 changed files with 15 additions and 41 deletions
|
|
@ -23,7 +23,7 @@ interface GeminiRespondingSpinnerProps {
|
|||
export const GeminiRespondingSpinner: React.FC<
|
||||
GeminiRespondingSpinnerProps
|
||||
> = ({ nonRespondingDisplay, spinnerType = 'dots' }) => {
|
||||
const { streamingState } = useStreamingContext();
|
||||
const streamingState = useStreamingContext();
|
||||
|
||||
if (streamingState === StreamingState.Responding) {
|
||||
return <Spinner type={spinnerType} />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue