-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: patch streaming API code #1693
Commits on Aug 28, 2024
-
fix: patch stream_steps to properly trigger + return compact JSON ins…
…tead of JSON with newlines
Configuration menu - View commit details
-
Copy full SHA for 4ffee3d - Browse repository at this point
Copy the full SHA 4ffee3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fef357 - Browse repository at this point
Copy the full SHA 0fef357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e4a861 - Browse repository at this point
Copy the full SHA 0e4a861View commit details -
feat: add dummy Message creation at the top of the stream handler so …
…that we can pass a MemGPT message ID back in the chunks of our streaming API (previously we hadn't created a Message so there was no Message ID to pass back by the time the streaming started)
Configuration menu - View commit details
-
Copy full SHA for 7b219ff - Browse repository at this point
Copy the full SHA 7b219ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9983af7 - Browse repository at this point
Copy the full SHA 9983af7View commit details -
feat: add FunctionCallDelta to the MemGPT message schema, since this …
…was an unsupported data type with the existing set of schemas
Configuration menu - View commit details
-
Copy full SHA for fcbc428 - Browse repository at this point
Copy the full SHA fcbc428View commit details -
feat: support passing ID when doing a dict-to-message Message constru…
…ctor (TODO this is intended to be used to allow creating a message in agent.py that uses the ID that came inside of the ChatCompletionResponse
Configuration menu - View commit details
-
Copy full SHA for eef77c0 - Browse repository at this point
Copy the full SHA eef77c0View commit details -
fix: fix issues with process_chunk that broke when we added typing to…
… the chunks/message objects
Configuration menu - View commit details
-
Copy full SHA for 21f501b - Browse repository at this point
Copy the full SHA 21f501bView commit details -
fix: allow process_chunk to take extra message IDs and created_ats to…
… pass through in the chunks from the MemGPT API
Configuration menu - View commit details
-
Copy full SHA for 1fe6b75 - Browse repository at this point
Copy the full SHA 1fe6b75View commit details -
feat: provide option in the openai stream handler determining whether…
… or not we want to use timestamps/ids from the chunks coming from the server, or from a message we created ahead of time
Configuration menu - View commit details
-
Copy full SHA for f2e1766 - Browse repository at this point
Copy the full SHA f2e1766View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e001a - Browse repository at this point
Copy the full SHA c9e001aView commit details -
fix: fix pretty bad bug where we were always creating new timestamps …
…on the return payload from any MemGPT message POST SSE return
Configuration menu - View commit details
-
Copy full SHA for 524a4d6 - Browse repository at this point
Copy the full SHA 524a4d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb3224 - Browse repository at this point
Copy the full SHA 9bb3224View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a42461 - Browse repository at this point
Copy the full SHA 0a42461View commit details -
fix: this was the final step - we create the Message IDs ahead of tim…
…e for streaming, but this enables actually persisting them (previously they were just fake throwaways). NOTE: this isn't really done very well since it has a hack assuming the 'message-' prefix on a ChatCompletionResponse means that we intended to use the .id property on the ChatCompletionResponse in subsequent Message creations
Configuration menu - View commit details
-
Copy full SHA for 7d513d5 - Browse repository at this point
Copy the full SHA 7d513d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6466da1 - Browse repository at this point
Copy the full SHA 6466da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for af1989a - Browse repository at this point
Copy the full SHA af1989aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4935daa - Browse repository at this point
Copy the full SHA 4935daaView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc9b893 - Browse repository at this point
Copy the full SHA fc9b893View commit details -
refactor: placate pylance and potentially fix pytest error by reverti…
…ng back to duplicated code style
Configuration menu - View commit details
-
Copy full SHA for ffa1ff0 - Browse repository at this point
Copy the full SHA ffa1ff0View commit details
Commits on Aug 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8e65ba2 - Browse repository at this point
Copy the full SHA 8e65ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f4e8d - Browse repository at this point
Copy the full SHA e4f4e8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8cb4a1 - Browse repository at this point
Copy the full SHA a8cb4a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5755123 - Browse repository at this point
Copy the full SHA 5755123View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82ae1d9 - Browse repository at this point
Copy the full SHA 82ae1d9View commit details