mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-06-26 22:00:19 +00:00
Merge pull request #771 from enriquecatala/fix-litellm-litellm-proxy-support
Enable LiteLLM proxy with embedding_binding_host
This commit is contained in:
commit
4d58ff8bb4
@ -1027,7 +1027,8 @@ def create_app(args):
|
||||
if args.embedding_binding == "azure_openai"
|
||||
else openai_embed(
|
||||
texts,
|
||||
model=args.embedding_model, # no host is used for openai,
|
||||
model=args.embedding_model,
|
||||
base_url=args.embedding_binding_host,
|
||||
api_key=args.embedding_binding_api_key,
|
||||
),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user