-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Updated litellm and openai #793
Conversation
Needed to add a check if content is None. Only tested with LM Studio
This might fix this: v0.1.15...v0.1.16#diff-759d9f02bb48ecd82e5b24e5725270c6932e76159967c46ee8742470424dce52 This needs more testing with openai api and others
Streaming - OpenAI Chunks now return None for empty stream chunks. This is how to process stream chunks with content
|
This still causes issues with gpt-4 for me. (oi) C:\oi>interpreter ▌ Model set to gpt-4-1106-preview Open Interpreter will require approval before running code. Use interpreter -y to bypass this. Press CTRL-C to exit.
Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): (oi) C:\oi> |
@CyanideByte thanks, I will check it out after work 👍 |
@Notnaton You need to modify all the code that uses the OpenAI module, and I will submit a pull request to solve this problem |
Excellent @catmeowjiao |
hi @Notnaton let me know if you run into any issues |
I'm sorry, I've been very busy lately, so the pull request may be delayed. Please forgive me! |
merge_deltas fix
I'll close this one and make a new, because of out of date. Having some issues with updating too, many changes to the structure. |
any update on this @Notnaton ? I was looking into embedding open-interpreter as a griptape tool but the version conflicts make it difficult.. |
I'm going to look into it again, but it might be after xmas/new years. A lot of people are running into problems with outdated openai/litellm packages. |
haha I thought I was going insane, I had just set a remote to your fork, was trying to checkout your branch, and suddenly it was gone. Then I refreshed the UI and it also was 404! Fast response 🥇 No worries, look forward to checking back |
Describe the changes you have made:
Updated LiteLLM and OpenAI
Needed to add a check if content is None.
Only tested with LM Studio
Reference any relevant issue (Fixes #000)
#765
I have tested the code on the following OS:
AI Language Model (if applicable)