Commit Graph
1 Commits
Author SHA1 Message Date
Dennis Huang 587306e3a6 Update requirements_o2.6.txt to resolve TypeError during chatbot demo startup
### Summary
- Resolved a `TypeError` encountered during the startup of the ChatBot Demo.
- Added version constraints for `pydantic` in the `requirements.txt` file to ensure dependency stability.

### Details
1. **Background**:
   - During the startup of the ChatBot Demo, a `TypeError` occurred due to incompatible versions of certain dependencies.
   - Investigation revealed that the issue was related to the `pydantic` library, where specific features were not functioning correctly in certain versions.

2. **Solution**:
   - Added version constraints for `pydantic` in the `requirements.txt` file to ensure compatibility.
   - Update:
     ```
     pydantic==2.10.6
     ```
   - By specifying the version, we avoid runtime errors caused by inconsistent dependency versions.

3. **Testing Verification**:
   - Reinstalled dependencies locally and restarted the ChatBot Demo to confirm the issue was resolved.
   - Verified that all functionalities work as expected without any additional errors.
2025-05-14 20:13:23 +08:00