Feat:Compatible with Dify's External Knowledge API (#2848)

### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._
Fixes #2731 
### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
HowardChan
2024-10-15 17:47:24 +08:00
committed by GitHub
parent 4463128436
commit e1e5711680
3 changed files with 85 additions and 0 deletions

View File

@ -250,3 +250,5 @@ class RetCode(IntEnum, CustomEnum):
AUTHENTICATION_ERROR = 109
UNAUTHORIZED = 401
SERVER_ERROR = 500
FORBIDDEN = 403
NOT_FOUND = 404