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 Arguments should not be passed back to assistants and re-serialized #360

Closed
StephenHodgson opened this issue Aug 26, 2024 · 0 comments · Fixed by #369 or RageAgainstThePixel/com.openai.unity#298
Assignees
Labels
bug Something isn't working

Comments

@StephenHodgson
Copy link
Member

StephenHodgson commented Aug 26, 2024

Bug Report

Overview

Function Arguments should not be passed back to assistants and re-serialized.


Can I put some tag on the Function.Arguments field, so it doesn't get included in the JSON Schema?

And I realize now, with setting specific Run.Tools, the Tool.Function is passed in with the Arguments field as well, causing the same bug.
E.g. to replicate:

CreateAssistant
CreateRun (with Tool defined)
CreateRun (with same Tool defined) (this time the Arguments field value from the first CreateRun is included)

Originally posted by @Bodekaer in RageAgainstThePixel/com.openai.unity#288 (reply in thread)

@StephenHodgson StephenHodgson added the bug Something isn't working label Aug 26, 2024
@StephenHodgson StephenHodgson self-assigned this Aug 26, 2024
@StephenHodgson StephenHodgson changed the title Function Arguments should not be serialized when passed to tools Function Arguments should not be passed back to assistants and re-serialized Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants
@StephenHodgson and others