openai icon indicating copy to clipboard operation
openai copied to clipboard

Dart/Flutter SDK for ChatGPT and all OpenAI APIs (GPT, Dall-e..)

Results 39 openai issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi, thanks for your work! According to OpenAI’s [specification](https://platform.openai.com/docs/api-reference/chat/create#chat-create-response_format), the _json_schema_ field should be an object (Map in dart). However, due to the implementation, it was only possible to pass...

Why can't I see deepseek's reasoning process when I look at the source code and it seems that reasoncontent is not supported ![Image](https://github.com/user-attachments/assets/11105911-95d8-44be-b46a-c531baa09cf1)

bug

When using `OpenAI.instance.chat.createStream` to create a chat completion stream, the stream remains open for **~15 seconds after completion**, even after calling `subscription.cancel()`. The delay disappears when the subscription is cancelled...

When trying the chat example, I get: ``` RequestFailedException(message: Invalid type for 'messages[1].content[1].image_url': expected an object, but got a string instead., statusCode: 400) #0 OpenAINetworkingClient.post (package:dart_openai/src/core/networking/client.dart:332:7) #1 OpenAIChat.create (package:dart_openai/src/instance/chat/chat.dart:87:12) #2...

http://xxx.gpt.com/api/v3

Environment variable not found for field `apiKey`. package:example/env/env.dart:9:23 ╷ 9 │ static const String apiKey = _Env.apiKey; │ ^^^^^^ ╵ I am currently changing the ENV var name to resolve...

OpenAI official add Realtime API these days. Any schedule to support? https://platform.openai.com/docs/guides/realtime

The responses api by open ai has a streaming features which is not supported by the package. `https://platform.openai.com/docs/api-reference/responses/create#responses_create-stream` It's similar to the ChatCompletion Streaming results but it's not incorporated yet...

When I use deepseek api as normal it works but if I added only one function then a exception appears ``` Called tool call call_00_xsLseh8C4YMoBWXUuvqbhNvU with function readCurrentFields and and...