mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
fix(core): prevent UI shift after vim edit (#5315)
This commit is contained in:
parent
8d993156e7
commit
aacae1de43
9 changed files with 81 additions and 15 deletions
|
|
@ -93,6 +93,7 @@ export const useGeminiStream = (
|
|||
performMemoryRefresh: () => Promise<void>,
|
||||
modelSwitchedFromQuotaError: boolean,
|
||||
setModelSwitchedFromQuotaError: React.Dispatch<React.SetStateAction<boolean>>,
|
||||
onEditorClose: () => void,
|
||||
) => {
|
||||
const [initError, setInitError] = useState<string | null>(null);
|
||||
const abortControllerRef = useRef<AbortController | null>(null);
|
||||
|
|
@ -133,6 +134,7 @@ export const useGeminiStream = (
|
|||
config,
|
||||
setPendingHistoryItem,
|
||||
getPreferredEditor,
|
||||
onEditorClose,
|
||||
);
|
||||
|
||||
const pendingToolCallGroupDisplay = useMemo(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue