llm-code-interpreter
llm-code-interpreter copied to clipboard
LibreChat / ChatGPT API issues
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":{}}}}]
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.