Skip to content

Add tests and logic for ToolChoice mapping in Grok#117

Merged
kzu merged 1 commit intomainfrom
dev/toolchoice
Apr 9, 2026
Merged

Add tests and logic for ToolChoice mapping in Grok#117
kzu merged 1 commit intomainfrom
dev/toolchoice

Conversation

@kzu
Copy link
Copy Markdown
Member

@kzu kzu commented Apr 9, 2026

Add unit tests for AsCompletionsRequest to verify ToolChoice behavior with various ChatToolMode values. Update GrokProtocolExtensions to set ToolChoice using a switch expression. Add InternalsVisibleTo for Moq proxy generation. Clean up usings and namespaces.

@kzu kzu added the enhancement New feature or request label Apr 9, 2026
Add unit tests for AsCompletionsRequest to verify ToolChoice behavior with various ChatToolMode values. Update GrokProtocolExtensions to set ToolChoice using a switch expression. Add InternalsVisibleTo for Moq proxy generation. Clean up usings and namespaces.
@kzu kzu force-pushed the dev/toolchoice branch from d2a7815 to f98d61d Compare April 9, 2026 22:56
@kzu kzu enabled auto-merge (rebase) April 9, 2026 22:57
@kzu
Copy link
Copy Markdown
Member Author

kzu commented Apr 9, 2026

42 passed 42 passed 33 skipped

🧪 Details on Ubuntu 24.04.4 LTS

from retest v1.1.0 on .NET 10.0.5 with 💜 by @devlooped

@kzu kzu merged commit 13b4da7 into main Apr 9, 2026
4 checks passed
@kzu kzu deleted the dev/toolchoice branch April 9, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant