Skip to content

Conversation

@joseharriaga
Copy link
Collaborator

@joseharriaga joseharriaga commented Dec 11, 2025

  • Restored Model in ResponseClient
  • Converted ResponseTokenUsage, ResponseInputTokenUsageDetails, and ResponseOutputTokenUsageDetails into protocol models
  • Fixed examples

@joseharriaga joseharriaga marked this pull request as ready for review December 11, 2025 05:38
public virtual RealtimeClient GetRealtimeClient();
[Experimental("OPENAI001")]
public virtual ResponsesClient GetResponsesClient();
public virtual ResponsesClient GetResponsesClient(string model);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we decide not to go with defaultModel?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds like we will want to move this property into ResponsesClientOptions, which doesn't exist yet because we're waiting on the Config feature from System.ClientModel that Michael is working on. With the intention to minimize churn for users, I'm simply reverting the Model property to what we had before for now, and we can perform the change as a whole in the future.

@joseharriaga joseharriaga merged commit 74f7e25 into main Dec 11, 2025
2 checks passed
@joseharriaga joseharriaga deleted the joseharriaga/ResponsesModelRestore branch December 11, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants