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)
- [Feature Request] Integrate open source embedding model HOT 2
- [Feature Request] Enhancing the Deductive Reasoning Capabilities of the "Deductive Reasoner Agent" with Mathematical Modeling (Stage 2) HOT 2
- [Roadmap]GitHub function
- [Roadmap] Camel Discord/Web Application HOT 1
- [Feature Request] Add `dependencies_required` and `api_keys_required`
- [Feature] Add `llama.cpp` local backend model support HOT 1
- [Roadmap] Action and ActionAgent
- [BUG] `get_usage_dict` may not work as expected for open source models
- [Feature Request] Discussion on the implementation of open source model type HOT 1
- [Feature Request] add retrieval function for agent to use
- [BUG] About using role_playing_with_open_source_model.py base on local LLM(fastChat vicuna-7b-v1.5) HOT 2
- [Feature Request] Implementing Structured Output Support in AI Role-Playing Module
- [BUG] AugAssign is not supported in `PythonInterpreter` HOT 1
- [BUG] Multi-agent Compatibility Score of Role Assignment HOT 3
- [BUG] Subtasks Decomposition with Dependencies in Cycle HOT 4
- [BUG] fix duplicate system message
- [Feature Request] Integrate `Read the Docs` to CAMEL for better documentation
- [Feature Request] Deprecate `functions` and use `tools` to align with the latest openai api
- [BUG] Dependency conflict between fasctchat and pydantic.alias_generator in openai_function.py HOT 4
- [Feature Request] Load .env file environment variables before instantiating OpenAI clients
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.