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

### What problem does this PR solve?

 Refactor Chats /chat API to RESTFul.

### Type of change

- [x] Refactoring
This commit is contained in:
Yongteng Lei
2026-04-01 20:10:37 +08:00
committed by GitHub
parent bb4a06f759
commit b622c47ed6
56 changed files with 2487 additions and 3664 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())