🔖 chore: English translation and other improvements (#163)

* chore: improve english translation

* fix: typo of error message

* chore: improve frontend icon

* chore: improve English translation

* chore: update PaperProps width to minWidth in TableRow.js files

* chore: Add Docker image workflow for one-api in English

---------

Co-authored-by: Martial BE <me@xiao5.info>
This commit is contained in:
Miraz Hossain
2024-04-23 14:25:40 +06:00
committed by GitHub
parent d1369eb5c6
commit a76b3f6ac2
20 changed files with 1232 additions and 409 deletions

View File

@@ -61,7 +61,7 @@ func (p *PalmProvider) getChatRequest(request *types.ChatCompletionRequest) (*ht
// 获取请求地址
fullRequestURL := p.GetFullRequestURL(url, request.Model)
if fullRequestURL == "" {
return nil, common.ErrorWrapper(nil, "invalid_baidu_config", http.StatusInternalServerError)
return nil, common.ErrorWrapper(nil, "invalid_palm_config", http.StatusInternalServerError)
}
// 获取请求头