authorization of tool selector

This commit is contained in:
JzoNg
2024-11-13 23:28:55 +08:00
parent 926f85ce4f
commit 194a99220b
10 changed files with 107 additions and 33 deletions

View File

@ -40,7 +40,10 @@ const EndpointModal: FC<Props> = ({
onSaved(tempCredential)
}
const [mockTool, setTool] = useState<any>()
const [mockTool, setTool] = useState<any>({
provider: 'langgenius/google/google',
tool_name: 'google_search',
})
return (
<Drawer