mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-20 05:22:47 -04:00
feat: allow to override model config (#323)
This commit is contained in:
1 parent
7bc08797f9
commit
05a3d569b0
12 files changed
+269
-64
No files matched your search
@@ -26,6 +26,7 @@ pip install langchain
|
||||
pip install openai
|
||||
|
||||
export OPENAI_API_BASE=http://localhost:8080
|
||||
# Note: **OPENAI_API_KEY** is not required. However the library might fail if no API_KEY is passed by, so an arbitrary string can be used.
|
||||
export OPENAI_API_KEY=sk-
|
||||
|
||||
python test.py
|
||||
|
||||
Reference in new issue
Block a user