mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Display inline (non-quoted) images in the chat and search modules #7623 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -66,3 +66,9 @@ export function setInitialChatVariableEnabledFieldValue(
|
||||
) {
|
||||
return field !== ChatVariableEnabledField.MaxTokensEnabled;
|
||||
}
|
||||
|
||||
const ShowImageFields = ['image', 'table'];
|
||||
|
||||
export function showImage(filed?: string) {
|
||||
return ShowImageFields.some((x) => x === filed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user