lollipopkit / lollipopkit/flutter_gpt_box

Azure openai如何配置

Open
#255 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
390
Forks
33
PR merge metrics
No merged PRs in 30d

Description

OpenAIClientException({
"uri": "https://openainogal.openai.azure.com/chat/completions",
"method": "POST",
"code": 404,
"message": "Unsuccessful response",
"body": {
"error": {
"code": "404",
"message": "Resource not found"
}
}
})

```#0 OpenAIClient.makeRequestStream (package:openai_dart/src/generated/client.dart:301)

#1 OpenAIClient.createChatCompletionStream (package:openai_dart/src/client.dart:97)

#2 _onCreateText. (package:gpt_box/view/page/home/req.dart:232)

```
配置报错,在其他客户端是正常的,不支持azure openai 吗

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the request from flutter_gpt_box/view/page/home/req.dart:232 through package:openai_dart/src/client.dart:97 and package:openai_dart/src/generated/client.dart:301. Reproduce the Azure configuration and inspect the request details around the 404 response. Done means the supported Azure OpenAI configuration is established or the unsupported behavior is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, dart, flutter
Domain
api, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.