Skip to content

Support latest Conversation API updates#1696

Merged
WhitWaldo merged 13 commits intodapr:masterfrom
WhitWaldo:convo-updates
Feb 8, 2026
Merged

Support latest Conversation API updates#1696
WhitWaldo merged 13 commits intodapr:masterfrom
WhitWaldo:convo-updates

Conversation

@WhitWaldo
Copy link
Contributor

@WhitWaldo WhitWaldo commented Feb 8, 2026

Description

Updating the client to support the latest changes to the Conversation building block:

  • Request can contain JSON schema as prototype Struct as well as a TimeSpan for the prompt cache retention policy
  • Response can contain token usage breakdown and the name of the model used
  • Added missing copyright headers on files throughout Dapr.AI

Also enabled the ConversationHarness in the Dapr.Testcontainers project and added integration tests validating the changes. This came with a tweak to the existing logic to also allow the default model name to be overridden by the test.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1691

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Whit Waldo <[email protected]>
Signed-off-by: Whit Waldo <[email protected]>
…ma models on demand (as they likely aren't already installed) and added simple integration test that's passing.

Signed-off-by: Whit Waldo <[email protected]>
…ult.

Added integration test validating that the runtime can accept tools and metadata values.

Signed-off-by: Whit Waldo <[email protected]>
@WhitWaldo WhitWaldo added this to the v1.17 milestone Feb 8, 2026
@WhitWaldo WhitWaldo self-assigned this Feb 8, 2026
@WhitWaldo WhitWaldo requested review from a team as code owners February 8, 2026 14:06
@WhitWaldo WhitWaldo moved this from Backlog to In review in v1.17 Release Tracking Board Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[1.17] Add Conversation API new fields

1 participant