Skip to content

Allow retrieving native client options from chat client#239

Merged
kzu merged 1 commit intomainfrom
dev/options
Mar 17, 2026
Merged

Allow retrieving native client options from chat client#239
kzu merged 1 commit intomainfrom
dev/options

Conversation

@kzu
Copy link
Member

@kzu kzu commented Mar 17, 2026

If the caller knows what type of options it's dealing with (OpenAIClientOptions, AzureOpenAIClientOptions, AzureAIInferenceClientOptions or GrokClientOptions), it can request the specific type. As a fallback, an untyped service with the key options is provided.

@kzu kzu added the enhancement New feature or request label Mar 17, 2026
@kzu kzu enabled auto-merge (rebase) March 17, 2026 12:19
@kzu
Copy link
Member Author

kzu commented Mar 17, 2026

21 passed 21 passed 9 skipped

🧪 Details on Ubuntu 24.04.3 LTS

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

If the caller knows what type of options it's dealing with (OpenAIClientOptions, AzureOpenAIClientOptions, AzureAIInferenceClientOptions or GrokClientOptions), it can request the specific type. As a fallback, an untyped service with the key `options` is provided.
@kzu kzu merged commit bced5ec into main Mar 17, 2026
4 checks passed
@kzu kzu deleted the dev/options branch March 17, 2026 12:42
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