Coder Social home page Coder Social logo

Freezing & overlay issue about org-assistant HOT 4 OPEN

walseb avatar walseb commented on August 19, 2024
Freezing & overlay issue

from org-assistant.

Comments (4)

walseb avatar walseb commented on August 19, 2024 1

Excellent, thank you!

I will try it out and report my findings.

from org-assistant.

tyler-dodge avatar tyler-dodge commented on August 19, 2024 1

Thanks for that info. I think that's enough for me to write a test around it. I'll probably have the time to fix it within the next week.

from org-assistant.

tyler-dodge avatar tyler-dodge commented on August 19, 2024

I added additional logging with the latest change if you set org-assistant-logging to t.

That'll make it output to a buffer called org-assistant-logging. That might help make it easier to identify what is happening when it fails if this is still happening.

from org-assistant.

walseb avatar walseb commented on August 19, 2024

Thanks to your logging feature I was able to capture this when the error occurred. If I had to guess it's due to the overload error that OpenAI sends not being handled properly.

Deleted ("/tmp/jsoniUqvdk")
Response Complete Success: ("{
  \"error\": {
    \"message\": \"That model is currently overloaded with other requests. You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID d478976008c1a18fff694b44c21a2b5d in your message.)\",
    \"type\": \"server_error\",
    \"param\": null,
    \"code\": null
  }
}
")
Request Body: (("--data" "@/tmp/jsonoZI4wx"))
Request Body: (("--data" "@/tmp/jsonBSnn62"))
Response: (((id . "chatcmpl-7QMZTpwsvxf5bCCDGRWxQZu3FDwaT") (object . "chat.completion.chunk") (created . 1686517647) (model . "gpt-3.5-turbo-0301") (choices . [((delta (role . "assistant")) (index . 0) (finish_reason))])))
Response: (((id . "chatcmpl-7QMZTpwsvxf5bCCDGRWxQZu3FDwaT") (object . "chat.completion.chunk") (created . 1686517647) (model . "gpt-3.5-turbo-0301") (choices . [((delta (content . "Chapter")) (index . 0) (finish_reason))])))
Deleted ("/tmp/jsonBSnn62")
Unexpected status ("killed
")
Deleted ("/tmp/jsonoZI4wx")
Response Complete Success: ("{
  \"error\": {
    \"message\": \"That model is currently overloaded with other requests. You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 574324db019caf11e314741760e6ecbd in your message.)\",
    \"type\": \"server_error\",
    \"param\": null,
    \"code\": null
  }
}
")

Thoughts?

from org-assistant.

Related Issues (20)

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.