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

Add ToolChoice to CreateRunRequest class #284

Open
marcusx2 opened this issue Apr 21, 2024 · 0 comments · May be fixed by #309 or RageAgainstThePixel/com.openai.unity#235
Open

Add ToolChoice to CreateRunRequest class #284

marcusx2 opened this issue Apr 21, 2024 · 0 comments · May be fixed by #309 or RageAgainstThePixel/com.openai.unity#235
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@marcusx2
Copy link

marcusx2 commented Apr 21, 2024

Feature Request

Is your feature request related to a problem? Please describe.

With the new version of OpenAPI, the tool can be ignored and not used if the tool choice is left with its default value.

Describe the solution you'd like

Add a new property to the CreateRunRequest method, as such

[Preserve]
[JsonProperty("tool_choice")]
public IReadOnlyDictionary<string, string> ToolChoice { get; }
@marcusx2 marcusx2 added the enhancement New feature or request label Apr 21, 2024
@marcusx2 marcusx2 changed the title Add ToolChoice to CreateRunRequest method Add ToolChoice to CreateRunRequest class Apr 21, 2024
@StephenHodgson StephenHodgson transferred this issue from RageAgainstThePixel/com.openai.unity Apr 21, 2024
@StephenHodgson StephenHodgson added this to the 8.0.0 milestone Apr 21, 2024
@StephenHodgson StephenHodgson self-assigned this Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants