feat: multiple model configuration (#2196)
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { createContext } from 'use-context-selector'
|
||||
import { createContext, useContext } from 'use-context-selector'
|
||||
import { PromptMode } from '@/models/debug'
|
||||
import type {
|
||||
AnnotationReplyConfig,
|
||||
@@ -239,4 +239,6 @@ const DebugConfigurationContext = createContext<IDebugConfiguration>({
|
||||
setVisionConfig: () => { },
|
||||
})
|
||||
|
||||
export const useDebugConfigurationContext = () => useContext(DebugConfigurationContext)
|
||||
|
||||
export default DebugConfigurationContext
|
||||
|
Reference in New Issue
Block a user