Comments (5)
Of course! using Flutter 3.13.9 and Dart 3.1.5
flutter doctor
output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.9, on macOS 14.1 23B74 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.84.1)
[✓] VS Code (version 1.82.0-insider)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
from openai.
Can you show me what is the result of flutter doctor
command and the version of Flutter and Dart you are using?
from openai.
Hi,
I don't see how this issue relates to dart_openai
since it uses fetch_client
package and not fetch_api
which the error refers to, I suspect that there is some incompatibility in your project or from another project that make use of it.
Can you recheck this and provide me with more context if you suspect that this relates to dart_openai
, otherwise you will need to find the source package (maybe you make use of fetch_api
in your pubspec.yaml
file) and fill an issue there.
I will close this for now!
from openai.
fetch_client
uses fetch_api
under the hood. This issue should be fixed in fetch_api
v1.0.3. I see you are using v1.0.2, so upgrading should solve it.
dart pub upgrade
dart pub get
from openai.
It worked. Thanks for the pointers everyone!
from openai.
Related Issues (20)
- Use Assistant API and other beta features HOT 2
- How to respond to toolCalls? HOT 14
- Breaking changes should be listed in the CHANGELOG 🙏 HOT 4
- Is there any complete example with the stream? HOT 3
- OpenAI.requestsTimeOut not working? HOT 1
- "name" field is missing in chat message HOT 1
- postAndExpectFileResponse with chunk support for real time audio streaming HOT 2
- Unhandled Exception: NoSuchMethodError: Class 'String' has no instance getter 'value'. HOT 7
- [question] Is it safe to use this package on release? HOT 4
- The argument type 'String' can't be assigned to the parameter type 'List<OpenAIChatCompletionChoiceMessageContentItemModel>?'. HOT 2
- My customized openai server can not load request any more: INFO: 127.0.0.1:51614 - "POST /v1/chat/completions HTTP/1.1" 422 Unprocessable Entity HOT 1
- [Transcription] Bad state: Stream has already been listened to HOT 7
- Offline Support HOT 2
- Support Azure OpenAI. HOT 4
- Collection dependency to 1.17.1 for flutter_test HOT 1
- Http errors are not sent to the stream as errors? HOT 1
- Failed host lookup: 'api.openai.com' HOT 1
- Got an exception when run on web
- Chat completion endpoint does not accept an array of strings in a system message HOT 1
- imageUrl Doesn't Work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openai.