Refa: Chats /chat API to RESTFul (#13871)

### What problem does this PR solve?

Chats /chat API to RESTFul.

### Type of change

- [x] Refactoring
This commit is contained in:
Yongteng Lei
2026-04-01 10:50:22 +08:00
committed by GitHub
parent 00b62dd587
commit 1a608ac411
52 changed files with 2058 additions and 3598 deletions

View File

@@ -54,5 +54,9 @@ class Base:
res = self.rag.put(path, json)
return res
def patch(self, path, json):
res = self.rag.patch(path, json)
return res
def __str__(self):
return str(self.to_json())