Skip to content
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

function_call extra fileds not permitted #435

Closed
humphd opened this issue Feb 9, 2024 · 2 comments · Fixed by #436
Closed

function_call extra fileds not permitted #435

humphd opened this issue Feb 9, 2024 · 2 comments · Fixed by #436
Labels
bug Something isn't working

Comments

@humphd
Copy link
Collaborator

humphd commented Feb 9, 2024

Trying to use @mingming-ma's new vision preview feature, I'm seeing this error:

image

@humphd humphd added the bug Something isn't working label Feb 9, 2024
@humphd
Copy link
Collaborator Author

humphd commented Feb 9, 2024

Interestingly, it seems to work in some cases and not others (e.g. one computer will work, the other fails every time).

@humphd
Copy link
Collaborator Author

humphd commented Feb 9, 2024

https://community.openai.com/t/completions-api-gpt-4-vision-preview-requests-with-function-call-are-rejected/479657 - the vision model doesn't support function calling.

It looks like when you have function calls in your chat, you can't send them along with the images. I guess we need to strip those out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant