Comments (7)
I had the same error until I installed:
serde = { version = "1.0.192", features = ["derive"] }
serde_json = "1.0.108"
So it's likely something with those libraries not being installed/detected by compiler.
from async-openai.
I've just tested this on a fresh install of rust and windows and it's working as expected.
I did update my version from 0.14 to 0.16 on my laptop and a clean did not help.
from async-openai.
Hello thank you for detail description of the issue, unfortunately I'm not able to reproduce this even after rustc update to latest rust version and matching depedency version from your cargo file.
Perhaps a clean build may help? cargo clean
(to be double sure just remove "target" directory as well) and then cargo build
?
from async-openai.
Also get the same issue here: https://github.com/stevenhuyn/plakait-backend when I change my async-openai version from 0.12
to 0.16
.
Cargo clean/deleting target folder did not seem to help.
Am on Windows 11.
rustc 1.72.0 (5680fa18f 2023-08-23)
from async-openai.
Is this still an issue or we can close this?
from async-openai.
I had the same error until I installed:
serde = { version = "1.0.192", features = ["derive"] } serde_json = "1.0.108"So it's likely something with those libraries not being installed/detected by compiler.
Explicitly doing 1.0.192
and 1.0.108
or whatver worked for me, instead of using just 1.0
! so it's good with me!
from async-openai.
Interesting, it does sound like issue specific to Windows.
Thanks to posting workaround - atleast its no longer a blocker - hence closing this.
from async-openai.
Related Issues (20)
- how to change base_url? HOT 2
- text to speech - flac format does not seem to work HOT 9
- Auto Generation from OpenAPI spec HOT 2
- Add support for llama.cpp completions HOT 2
- impls.rs: AssistantTools HOT 3
- query for client files list seems to be missing HOT 1
- Why is there a \n\n prepended to the response? HOT 2
- Changing base url - Usage with open source LLM - Invalid status code: 404 Not Found HOT 3
- Stabilizing wasm target HOT 2
- Support text-to-speech (TTS) streaming functionality HOT 12
- Advanced error handling for OpenAI-like LLM APIs
- Test compilation failed HOT 2
- Support variable length embeddings HOT 3
- OpenAI transcriptions api language field is invalid ! HOT 1
- Embedding deserialization error when using encoding_format `EncodingFormat::Base64`
- Ollama AI Chat Completion Example / OpenAI Compatibility HOT 3
- Sync OpenAPI spec changes after 4th Jan 24 HOT 1
- Initialize `Client` with custom HTTP client, config, and backoff HOT 3
- Usage of std::thread::sleep inside async function in assistants example HOT 1
- Add retry on 504 Gateway Time-out and "connection closed before message completed" HOT 5
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 async-openai.