update bing detection

This commit is contained in:
josc146
2023-10-15 22:43:11 +08:00
parent 62e8c3b41a
commit 843bfc357f
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -49,7 +49,8 @@ function ConversationCard(props) {
const windowSize = useClampWindowSize([750, 1500], [250, 1100])
const bodyRef = useRef(null)
const [completeDraggable, setCompleteDraggable] = useState(false)
const useForegroundFetch = bingWebModelKeys.includes(session.modelName)
// `.some` for multi mode models. e.g. bingFree4-balanced
const useForegroundFetch = bingWebModelKeys.some((n) => session.modelName.includes(n))
/**
* @type {[ConversationItemData[], (conversationItemData: ConversationItemData[]) => void]}