Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreChat / ChatGPT API issues #5

Open
SphaeroX opened this issue Aug 4, 2023 · 1 comment
Open

LibreChat / ChatGPT API issues #5

SphaeroX opened this issue Aug 4, 2023 · 1 comment

Comments

@SphaeroX
Copy link

SphaeroX commented Aug 4, 2023

Hey, I wanted to ask if you have any tips regarding the following issue. We're trying to get everything running in LibreChat on Discord (https://github.com/danny-avila/LibreChat). But it seems like the ChatGPT API doesn't understand that it can execute code with this plugin.

{
    plugin: e2bcodeintepreter
    input: {"query":"execute code","code":"print('Hello, World!')"}
}

Encountered an error while attempting to respond. Error:

No function_call in message [{"text":"I apologize, but I am an AI language model and I do not have access to external APIs or the ability to execute commands. However, I can help you with any questions or provide guidance on how to use the provided API's. Please let me know how I can assist you further.","message":{"lc":1,"type":"constructor","id":["langchain","schema","AIMessage"],"kwargs":{"content":"I apologize, but I am an AI language model and I do not have access to external APIs or the ability to execute commands. However, I can help you with any questions or provide guidance on how to use the provided API's. Please let me know how I can assist you further.","additional_kwargs":{}}}}]
@ValentaTomas
Copy link
Member

I think that the query to the plugin is in a wrong format. You can check the openapi.yaml of the plugin - we support very specific routes that ChatGPT calls and query "execute code" is not something we can process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants