#Assistant Actions Don't Work On One Assistant
1 messages · Page 1 of 1 (latest)
can you share the spec so i can test it?
I never have issues with the actions these days, it's quite robust, so I'm curious what's tripping it up here
This is the one that works on one of my assistants, but not others:
openapi: 3.1.0
info:
title: Jina Web Search API
description: API for performing web searches using Jina. The API is designed to respond to queries formatted as URLs with keywords encoded into them.
version: 1.0.0
servers:
- url: https://s.jina.ai
description: Jina AI Web Search Server
paths:
/{keywordsQuery}:
get:
operationId: getWebSearchResults
summary: Perform a web search with a query encoded as keywords.
description: This endpoint allows you to perform a web search by encoding your search query into keywords and sending them as part of the URL.
parameters:
- name: keywordsQuery
in: path
required: true
description: Encoded search query with keywords.
schema:
type: string
headers:
X-Return-Format:
schema:
type: string
required: true
description: Return format for the search results. Should be set to "default".
X-No-Cache:
schema:
type: string
required: true
description: Indicates whether caching is disabled. Should be set to "true".
responses:
'200':
description: A JSON object containing the search results.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Bad Request - Invalid keywords or parameters.
'500':
description: Server error - Something went wrong on the server side.
@proper turret
It added it to the assistant that doesn't work with the action, but LibreChat doesn't add it to the assistant
It's a GET thing, no API key is needed it just fetches the web results
I've even deleted it and added it back
I've also made a new assistant
It only works on 1 assistant
the spec you gave me is not formatted correctly, I'm able to add my fixed version of it to as many assistants as I want:
openapi: 3.1.0
info:
title: Jina Web Search API
description: API for performing web searches using Jina. The API is designed to respond to queries formatted as URLs with keywords encoded into them.
version: 1.0.0
servers:
- url: https://s.jina.ai/
description: Jina AI Web Search Server
paths:
/{keywordsQuery}:
get:
operationId: getWebSearchResults
summary: Perform a web search with a query encoded as keywords.
description: This endpoint allows you to perform a web search by encoding your search query into keywords and sending them as part of the URL.
parameters:
- name: keywordsQuery
in: path
required: true
description: Encoded search query with keywords.
schema:
type: string
headers:
X-Return-Format:
schema:
type: string
required: true
description: Return format for the search results. Should be set to "default".
X-No-Cache:
schema:
type: string
required: true
description: Indicates whether caching is disabled. Should be set to "true".
responses:
'200':
description: A JSON object containing the search results.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Bad Request - Invalid keywords or parameters.
'500':
description: Server error - Something went wrong on the server side.
Thank You So So Much!
Same thing happened again
I will try it on the PC
Maybe it's a IOS issue!
It worked with one, but not with two
I copied it from your message
500 error means the server is having issues with the API request when you click create
try inspecting the logs in the ./logs directory at project root
I use the Demo
oh i see, on huggingface?
Yeah I think it's HF based
It's alright
I can just delete the spec and copy paste it when I want to use another assistant
getting 500 error