#Assistant Actions Don't Work On One Assistant

1 messages · Page 1 of 1 (latest)

lament siren
#

I've created a Web Assistant with GPT 4O Mini and a Web API (OpenAPI). It worked with one of my assistants, but when I apply the same OpenAPI spec to another assistant it doesn't work. Can you fix it please?

proper turret
#

I never have issues with the actions these days, it's quite robust, so I'm curious what's tripping it up here

lament siren
# proper turret I never have issues with the actions these days, it's quite robust, so I'm curio...

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

lament siren
lament siren
#

I've also made a new assistant

#

It only works on 1 assistant

proper turret
#

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.
lament siren
#

Thank You So So Much!

lament siren
#

I will try it on the PC

#

Maybe it's a IOS issue!

lament siren
#

I copied it from your message

proper turret
# lament siren

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

proper turret
#

oh i see, on huggingface?

lament siren
#

It's alright

#

I can just delete the spec and copy paste it when I want to use another assistant