Skip to content

When using Response api with tool, method not found System.Object Microsoft.Extensions.AI.ChatOptions.get_ContinuationToken() #7077

@andrew-vdb

Description

@andrew-vdb

Description

Follow up from #7060
The issue in 7060 is fixed but new issue happen where we got another MethodNotFoundException when calling response with tool

Reproduction Steps

  • Use OpenAIResponseClient
  • Use https://www.nuget.org/packages/Microsoft.Extensions.AI.OpenAI/10.0.1-preview.1.25571.5 that reference OpenAI 2.7.0
  • Without tool it work, with tool you get exception

Expected behavior

Should just work

Actual behavior

Exception when using tool
Error: Method not found: 'System.Object Microsoft.Extensions.AI.ChatOptions.get_ContinuationToken()'.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-aiMicrosoft.Extensions.AI librariesbugThis issue describes a behavior which is not expected - a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions