Skip to content

Error on Prompt Entered #94

Open
Open
@Dmw789

Description

@Dmw789

Describe the bug
I get the following error after setting up and running the csharp 'Hello World' app for the first time:

Exception has occurred: CLR/Microsoft.SemanticKernel.Http.HttpOperationException
An exception of type 'Microsoft.SemanticKernel.Http.HttpOperationException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Unrecognized request argument supplied: functions
Status: 404 (model_error)

Content:
{
"error": {
"message": "Unrecognized request argument supplied: functions",
"type": "invalid_request_error",
"param": null,
"code": null
}
}

Headers:
Access-Control-Allow-Origin: REDACTED
x-ms-region: REDACTED
x-ratelimit-remaining-tokens: REDACTED
apim-request-id: REDACTED
X-Request-ID: REDACTED
ms-azureml-model-error-reason: REDACTED
ms-azureml-model-error-statuscode: REDACTED
x-ms-client-request-id: 55d2f70c-33d7-4c7e-a003-0332edeb6f88
x-ratelimit-remaining-requests: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
Date: Fri, 08 Dec 2023 22:11:36 GMT
Content-Length: 162
Content-Type: application/json'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception Azure.RequestFailedException : Unrecognized request argument supplied: functions
Status: 404 (model_error)

Content:
{
"error": {
"message": "Unrecognized request argument supplied: functions",
"type": "invalid_request_error",
"param": null,
"code": null
}
}

Headers:
Access-Control-Allow-Origin: REDACTED
x-ms-region: REDACTED
x-ratelimit-remaining-tokens: REDACTED
apim-request-id: REDACTED
X-Request-ID: REDACTED
ms-azureml-model-error-reason: REDACTED
ms-azureml-model-error-statuscode: REDACTED
x-ms-client-request-id: 55d2f70c-33d7-4c7e-a003-0332edeb6f88
x-ratelimit-remaining-requests: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
Date: Fri, 08 Dec 2023 22:11:36 GMT
Content-Length: 162
Content-Type: application/json
at Azure.Core.HttpPipelineExtensions.d__0.MoveNext()
at System.Threading.Tasks.ValueTask1.get_Result() at Azure.AI.OpenAI.OpenAIClient.<GetChatCompletionsStreamingAsync>d__16.MoveNext() at Microsoft.SemanticKernel.Connectors.AI.OpenAI.ClientCore.<RunRequestAsync>d__361.MoveNext()

To Reproduce
Steps to reproduce the behavior:
Follow along with the readme and run the app, when prompted, I typed
User > Hello

Desktop (please complete the following information):
OS: Windows 10.0.19045
IDE: VSCode
NuGet Package Version: 1.0.0-rc3

Additional context
Completed test with GPT-35-turbo deployed in Azure OpenAI

The error causes a break to happen at line 49 of Program.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions