Comments (4)
Excellent, thank you!
I will try it out and report my findings.
from org-assistant.
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.
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.
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)
- Streaming output HOT 7
- Cancel all tasks HOT 2
- Enable markdown mode by default? HOT 1
- org-assistant-response-completed-hook should be called with text and prompt ID as arguments HOT 1
- Streaming id location HOT 3
- Noweb bug HOT 5
- Evaluating thread while streaming HOT 4
- SRC block escaped by org syntax HOT 3
- Evaluating a block that's currently streaming HOT 2
- Too much is escaped HOT 2
- Evaluating while queries are in queue HOT 2
- Errors when adding to queue HOT 2
- Undo and streaming HOT 4
- Accessing text field while it's being streamed in HOT 4
- Bug related to freezing prompt & cancelling blocks HOT 4
- Doesn't support indented org blocks HOT 1
- /tmp memory leak HOT 2
- Noweb doesn't work for system prompts HOT 2
- Set model used per-block
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-assistant.