Merge pull request #423 from devchat-ai/fix_test_error

Fix content concatenation in commit_cases.py
This commit is contained in:
boob.yang 2024-01-30 18:11:29 +08:00 committed by GitHub
commit f589ce673a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,7 @@ code change diff:
content = ''
for chunk in response:
content += chunk.choices[0].delta.content
content += (chunk.choices[0].delta.content or "")
print('AI says:', content)
return compare_result_parser(content)