refactor: Clean up code by removing unnecessary blank lines and improving comments for better readability and maintainability

This commit is contained in:
wizardchen
2025-11-28 16:10:37 +08:00
parent a318a08ab7
commit 135e33eca4
38 changed files with 318 additions and 545 deletions
-1
View File
@@ -122,7 +122,6 @@ func TestRemoteAPIChat(t *testing.T) {
response.Usage.CompletionTokens,
response.Usage.TotalTokens)
})
})
}
}
-1
View File
@@ -29,7 +29,6 @@ type RankResult struct {
// Handles the RelevanceScore field by checking if RelevanceScore exists first, otherwise falls back to Score field
func (r *RankResult) UnmarshalJSON(data []byte) error {
var temp struct {
Index int `json:"index"`
Document DocumentInfo `json:"document"`