mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 20:24:32 +02:00
add fix
This commit is contained in:
committed by
Chris Weaver
parent
519ec20d05
commit
b2ce848b53
@@ -910,28 +910,11 @@ export function AssistantEditor({
|
||||
|
||||
{internetSearchTool && (
|
||||
<>
|
||||
<div className="flex items-center content-start mb-2">
|
||||
<Checkbox
|
||||
size="sm"
|
||||
id={`enabled_tools_map.${internetSearchTool.id}`}
|
||||
checked={
|
||||
values.enabled_tools_map[internetSearchTool.id]
|
||||
}
|
||||
onCheckedChange={() => {
|
||||
toggleToolInValues(internetSearchTool.id);
|
||||
}}
|
||||
name={`enabled_tools_map.${internetSearchTool.id}`}
|
||||
/>
|
||||
<div className="flex flex-col ml-2">
|
||||
<span className="text-sm">
|
||||
{internetSearchTool.display_name}
|
||||
</span>
|
||||
<span className="text-xs text-subtle">
|
||||
Access real-time information and search the web
|
||||
for up-to-date results
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<BooleanFormField
|
||||
name={`enabled_tools_map.${internetSearchTool.id}`}
|
||||
label={internetSearchTool.display_name}
|
||||
subtext="Access real-time information and search the web for up-to-date results"
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
|
||||
|
Reference in New Issue
Block a user