mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
fix format
This commit is contained in:
@@ -17,7 +17,7 @@ import {
|
|||||||
import { globalConfig } from '../../config/config.js';
|
import { globalConfig } from '../../config/config.js';
|
||||||
import { getErrorMessage, isNodeError } from '../../utils/errors.js';
|
import { getErrorMessage, isNodeError } from '../../utils/errors.js';
|
||||||
|
|
||||||
const allowlistedCommands = ['ls']; // TODO: make this configurable
|
const allowlistedCommands = ['ls']; // TODO: make this configurable
|
||||||
|
|
||||||
const addHistoryItem = (
|
const addHistoryItem = (
|
||||||
setHistory: React.Dispatch<React.SetStateAction<HistoryItem[]>>,
|
setHistory: React.Dispatch<React.SetStateAction<HistoryItem[]>>,
|
||||||
@@ -123,7 +123,6 @@ export const useGeminiStream = (
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (
|
} else if (
|
||||||
// HACK to detect errored function responses.
|
// HACK to detect errored function responses.
|
||||||
typeof query === 'object' &&
|
typeof query === 'object' &&
|
||||||
|
|||||||
Reference in New Issue
Block a user