Comments (1)
Hi @hzhWord. It ran fine on my local machine. Do you have more information? It seems it is an error with tiktoken
Here is a suggestion from ChatGPT
:
This error message suggests that there is an assertion failure in the Rust code at line 458 of the lib.rs file, indicating that the length of the encoder and decoder do not match.
It seems that this error is occurring within the context of a Python script, specifically in the step method of the chat_agent.py file. It's possible that the error is related to the interaction between the Python script and the Rust code it's using.
To further debug this error, you can try running the script with the RUST_BACKTRACE=1 environment variable to display a backtrace, which may provide additional information about the source of the problem. Additionally, you can try checking the input data and parameters passed to the Rust code and make sure they are formatted correctly.
from camel.
Related Issues (20)
- [BUG] Problem with new Wikipedia Search functionality HOT 6
- [Feature Request] Multi-agent System based on the Role-playing module
- [BUG] test `tests_search_wiki_with_ambiguity` fails from time to time HOT 1
- [Feature Request] Optimize github actions
- [BUG] HuggingFace Tool Connection Problem HOT 3
- [Feature Request] Structure Output of LLM HOT 4
- [Feature Request] Support `CodeLlama` and `Llama-2-chat`
- Data I/O HOT 3
- [Feature Request] Fix documents
- [Feature Request] Optimize Issue and PR templates HOT 1
- [Feature Request] Improve function calling implementation
- [Feature Request] Add support to Anthropic LLM HOT 6
- Prepare release 0.2 HOT 2
- Improve code coverage of OpenSourceModel HOT 3
- More coverage for python interpreter HOT 2
- improved with structured output
- π€Agile Documentation & Updates HOT 6
- [Feature Request] Test Agile
- [Feature Request] Text to Audio generation with `ElevenLabs` HOT 1
- [BUG] chat_agent update message HOT 4
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 camel.