fix: webapp stop chat & citation (#2376)
This commit is contained in:
@@ -54,11 +54,7 @@ const DebugWithSingleModel = forwardRef<DebugWithSingleModelRefType, DebugWithSi
|
||||
handleAnnotationEdited,
|
||||
handleAnnotationRemoved,
|
||||
} = useChat(
|
||||
{
|
||||
...config,
|
||||
supportAnnotation: true,
|
||||
appId,
|
||||
},
|
||||
config,
|
||||
{
|
||||
inputs,
|
||||
promptVariables: modelConfig.configs.prompt_variables,
|
||||
|
||||
@@ -126,6 +126,7 @@ export const useConfigFromDebugContext = () => {
|
||||
|
||||
supportAnnotation: true,
|
||||
appId,
|
||||
supportCitationHitInfo: true,
|
||||
}
|
||||
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user