-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Open
Copy link
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't working
Description
Describe the bug
When using ImportPluginFromOpenApiAsync() with data-api-builder and graphql and gpt-4 host6ed on azure the orchestrator throws the error 'The content type application/graphql-response+json
is not supported.' when receiving the response.
To Reproduce
Steps to reproduce the behavior:
- Setup a new agent that uses AddAzureOpenAIChatCompletion() and 'gpt-4', example repo here: https://github.com/tommasodotNET/chat-with-database
- Setup graphql endpoint using https://github.com/Azure/data-api-builder/
- Make a tool call to the OpenApi function
Expected behavior
The orchestrator should correctly parse the response from graphql.
*Env
deploymentName: "gpt-4",
C#
Windows
Visual Studio

Can be reproduced in this repo: https://github.com/tommasodotNET/chat-with-database

Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codebugSomething isn't workingSomething isn't working
Type
Projects
Status
Bug