mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-26 05:04:28 +08:00
Fix TogetherAIEmbed. (#4623)
### What problem does this PR solve? #4567 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
4230402fbb
commit
f1d9f4290e
@ -627,7 +627,7 @@ class CoHereEmbed(Base):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class TogetherAIEmbed(OllamaEmbed):
|
class TogetherAIEmbed(OpenAIEmbed):
|
||||||
def __init__(self, key, model_name, base_url="https://api.together.xyz/v1"):
|
def __init__(self, key, model_name, base_url="https://api.together.xyz/v1"):
|
||||||
if not base_url:
|
if not base_url:
|
||||||
base_url = "https://api.together.xyz/v1"
|
base_url = "https://api.together.xyz/v1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user