Originally created by @CookSleep on GitHub (Sep 17, 2024).
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: v0.3.21
Operating System: Ubuntu 22.04
Browser: Edge 128.0.2739.79
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
The various functions of langchain-openai work normally
Actual Behavior:
The various functions of langchain-openai do not work properly, and the following error is shown during import:
Something went wrong :/ no validator found for <class 'langchain_core.callbacks.base.BaseCallbackHandler'>, see arbitrary_types_allowed in Config
Description
Bug Summary:
The upgrade of langchain-openai caused some functions that depend on it to fail
Reproduction Details
Steps to Reproduce:
Import any function that requires langchain-openai, using OpenAI ReAct Agent as an example
This function works with langchain-openai==0.1.24, but completely fails in the latest version. When re-importing, you will encounter:
Something went wrong :/ no validator found for <class 'langchain_core.callbacks.base.BaseCallbackHandler'>, see arbitrary_types_allowed in Config
You may need to rebuild the container to trigger this issue, as langchain-openai may not have been upgraded previously
Originally created by @CookSleep on GitHub (Sep 17, 2024).
# Bug Report
## Installation Method
Docker
## Environment
- **Open WebUI Version:** v0.3.21
- **Operating System:** Ubuntu 22.04
- **Browser:** Edge 128.0.2739.79
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
The various functions of `langchain-openai` work normally
## Actual Behavior:
The various functions of `langchain-openai` do not work properly, and the following error is shown during import:
```
Something went wrong :/ no validator found for <class 'langchain_core.callbacks.base.BaseCallbackHandler'>, see arbitrary_types_allowed in Config
```
## Description
**Bug Summary:**
The upgrade of `langchain-openai` caused some functions that depend on it to fail
## Reproduction Details
**Steps to Reproduce:**
1. Import any function that requires `langchain-openai`, using [OpenAI ReAct Agent](https://www.openwebui.com/f/michaelpoluektov/openai_react) as an example
2. This function works with `langchain-openai==0.1.24`, but completely fails in the latest version. When re-importing, you will encounter:
```
Something went wrong :/ no validator found for <class 'langchain_core.callbacks.base.BaseCallbackHandler'>, see arbitrary_types_allowed in Config
```
> You may need to rebuild the container to trigger this issue, as `langchain-openai` may not have been upgraded previously
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @CookSleep on GitHub (Sep 17, 2024).
Bug Report
Installation Method
Docker
Environment
Confirmation:
Expected Behavior:
The various functions of
langchain-openaiwork normallyActual Behavior:
The various functions of
langchain-openaido not work properly, and the following error is shown during import:Description
Bug Summary:
The upgrade of
langchain-openaicaused some functions that depend on it to failReproduction Details
Steps to Reproduce:
langchain-openai, using OpenAI ReAct Agent as an examplelangchain-openai==0.1.24, but completely fails in the latest version. When re-importing, you will encounter:@tjbck commented on GitHub (Sep 17, 2024):
langchain-openaiis not shipped with open-webui.