mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-21 00:36:43 +08:00
Refactor: completion -> completions (#14584)
### What problem does this PR solve? Keep only /completions, deprecated /completion ### Type of change - [x] Refactoring
This commit is contained in:
@ -116,7 +116,7 @@ class Session(Base):
|
||||
"openai-compatible": False,
|
||||
}
|
||||
json_data.update(kwargs)
|
||||
res = self.post("/agents/chat/completion", json_data, stream=stream)
|
||||
res = self.post("/agents/chat/completions", json_data, stream=stream)
|
||||
return res
|
||||
|
||||
def update(self, update_message):
|
||||
|
||||
Reference in New Issue
Block a user