Commit 587306e
authored
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.1 parent 62327ab commit 587306e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
0 commit comments