fix: ollama channel test

This commit is contained in:
CaIon
2024-03-26 19:27:11 +08:00
parent 6114c9bb96
commit 319e97d677
3 changed files with 5 additions and 3 deletions

View File

@@ -108,6 +108,7 @@ func buildTestRequest() *dto.GeneralOpenAIRequest {
testRequest := &dto.GeneralOpenAIRequest{
Model: "", // this will be set later
MaxTokens: 1,
Stream: false,
}
content, _ := json.Marshal("hi")
testMessage := dto.Message{