Update Microsoft.Extensions.AI version & expose JSON configuration on McpServerResourceCreateOptions#511
Conversation
|
Is there any chance you could add a test validating that this is indeed fixed? |
|
Updating the version is fine and good (we need to anyway for other reasons), but... Are you sure this impacts the cited issue? Wasn't that fix in the 9.5 version already? |
|
Hmm, actually it looks like the mentioned fix was already in 9.5.0: dotnet/extensions@v9.4.0...v9.5.0. Confirmed that updating to the latest version of ModelContextProtocol fixed the issue for me, so I think #357 is fixed already. |
|
@eiriktsarpalis, this is failing with errors like: Any idea what changed in Microsoft.Extensions.AI.Abstractions that would have affected this? I'm concerned we had an unexpected fallout from something. |
|
This is also failing: |
|
I speculate that it's related to the output schema now being generated for every AI function. If our server infrastructure was hardcoding detection of return types |
McpServerResourceCreateOptions
28d6547
into
modelcontextprotocol:main
Per #357 (comment), this should fix #357.