mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Feat: allow initialize Redis without password (#10856)
### What problem does this PR solve? Allow initialize Redis without password. ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -526,7 +526,7 @@ class OllamaCV(Base):
|
||||
try:
|
||||
response = self.client.generate(
|
||||
model=self.model_name,
|
||||
prompt=prompt[0]["content"][0]["text"],
|
||||
prompt=prompt[0]["content"],
|
||||
images=[image],
|
||||
)
|
||||
ans = response["response"].strip()
|
||||
|
||||
Reference in New Issue
Block a user