Describe the bug
[marcjimz@marcjimz-m3:~/Documents/Development]: sage-chat --mode=local --llm-provider openai --llm-model gpt-4o
Traceback (most recent call last):
File "/Users/marcjimz/.local/bin/sage-chat", line 8, in
sys.exit(main())
File "/Users/marcjimz/.local/pipx/venvs/storia-sage/lib/python3.10/site-packages/sage/chat.py", line 79, in main
rag_chain = build_rag_chain(args)
File "/Users/marcjimz/.local/pipx/venvs/storia-sage/lib/python3.10/site-packages/sage/chat.py", line 25, in build_rag_chain
llm = build_llm_via_langchain(args.llm_provider, args.llm_model)
File "/Users/marcjimz/.local/pipx/venvs/storia-sage/lib/python3.10/site-packages/sage/llm.py", line 13, in build_llm_via_langchain
return ChatOpenAI(model=model or "gpt-4")
File "/Users/marcjimz/.local/pipx/venvs/storia-sage/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 113, in init
super().init(*args, **kwargs)
File "/Users/marcjimz/.local/pipx/venvs/storia-sage/lib/python3.10/site-packages/pydantic/v1/main.py", line 341, in init
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for ChatOpenAI
root
Client.init() got an unexpected keyword argument 'proxies' (type=type_error)
To Reproduce
Steps to reproduce the behavior:
Install sage, run the above command
Expected behavior
I should be able to run the UI.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
- Python version: python 10
- OS: macOS