mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 04:00:42 +00:00
lint fix and rename file search
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
2d9163529a
commit
bb34e942d1
7 changed files with 26 additions and 25 deletions
|
|
@ -1167,7 +1167,10 @@ export default function ChatPlaygroundPage() {
|
|||
|
||||
// find RAG toolgroups that have vector_db_ids configured
|
||||
const ragToolgroups = selectedAgentConfig.toolgroups.filter(toolgroup => {
|
||||
if (typeof toolgroup === "object" && toolgroup.name?.includes("file_search")) {
|
||||
if (
|
||||
typeof toolgroup === "object" &&
|
||||
toolgroup.name?.includes("file_search")
|
||||
) {
|
||||
return toolgroup.args && "vector_db_ids" in toolgroup.args;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue