Giter VIP home page Giter VIP logo

e2b-dev / llm-code-interpreter Goto Github PK

View Code? Open in Web Editor NEW
466.0 466.0 44.0 929 KB

[DEPRECATED] Powered by AI Playgrounds by E2B. Code interpreter on steroids for ChatGPT. Run any language, any terminal process, use filesystem freely. All with access to the internet.

Home Page: https://e2b.dev/docs

License: MIT License

Dockerfile 1.85% JavaScript 8.40% TypeScript 89.75%
ai api chatgpt chatgpt-api chatgpt-plugin code code-execution code-interpreter development gpt-3 gpt-3-5-turbo gpt-4 javascript llm nodejs openai openapi plugins rest typescript

llm-code-interpreter's People

Contributors

aiwhispererdev avatar jacobfv avatar jakubno avatar mlejva avatar valentatomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

llm-code-interpreter's Issues

'body.content': { message: "'content' is required", value: undefined }

i was able to use the OpenAPI.json specs in my tool. and i was able to invoke the plugin chain on request. i keep getting this error tho on the plugin side.

Caught Validation Error for /files: {
  'body.content': { message: "'content' is required", value: undefined }
} ValidateError
    at getValidatedArgs (/home/runner/chatgpt-plugin-1/src/generated/routes.ts:211:19)
    at FileController_writeFile (/home/runner/chatgpt-plugin-1/src/generated/routes.ts:110:33)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at <anonymous> (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:284:15)
    at Function.process_params (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:346:12)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:280:10)
    at jsonParser (/home/runner/chatgpt-plugin-1/node_modules/body-parser/lib/types/json.js:119:7) {
  fields: {
    'body.content': { message: "'content' is required", value: undefined }
  },
  status: 400
}
PUT /files?env=Bash&path=%2Fe2b.txt 422 94 - 14.806 ms
Caught Validation Error for /files: {
  'body.content': { message: "'content' is required", value: undefined }
} ValidateError
    at getValidatedArgs (/home/runner/chatgpt-plugin-1/src/generated/routes.ts:211:19)
    at FileController_writeFile (/home/runner/chatgpt-plugin-1/src/generated/routes.ts:110:33)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at <anonymous> (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:284:15)
    at Function.process_params (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:346:12)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:280:10)
    at jsonParser (/home/runner/chatgpt-plugin-1/node_modules/body-parser/lib/types/json.js:119:7) {
  fields: {
    'body.content': { message: "'content' is required", value: undefined }
  },
  status: 400
}

use without ConversationID

I want to use this on a GPT4 wrapper, which used GPT4 API. how can i use this without Conversation_id.

I was able to execute the chain but got error with

Listening at http://localhost:3000
GET / 500 23 - 2.567 ms
Caught Internal Error for /files: Error: conversationID in header is required
    at getUserSessionID (/home/runner/chatgpt-plugin-1/src/plugin/environment.ts:17:11)
    at FileController.readFile (/home/runner/chatgpt-plugin-1/src/plugin/fileController.ts:37:23)
    at FileController_readFile (/home/runner/chatgpt-plugin-1/src/generated/routes.ts:87:51)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at <anonymous> (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:284:15)
    at Function.process_params (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:346:12)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:280:10)
GET /files?env=Nodejs&path=file.txt 500 35 - 43.081 ms
    Caught Internal Error for /files: Error: conversationID in header is required
    at getUserSessionID (/home/runner/chatgpt-plugin-1/src/plugin/environment.ts:17:11)
    at FileController.readFile (/home/runner/chatgpt-plugin-1/src/plugin/fileController.ts:37:23)
    at FileController_readFile (/home/runner/chatgpt-plugin-1/src/generated/routes.ts:87:51)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/layer.js:95:5)
    at <anonymous> (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:284:15)
    at Function.process_params (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:346:12)
    at next (/home/runner/chatgpt-plugin-1/node_modules/express/lib/router/index.js:280:10)
GET /files?env=Nodejs&path=file.txt 500 35 - 39.320 ms```

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":{}}}}]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.