Merge pull request #423 from devchat-ai/fix_test_error
Fix content concatenation in commit_cases.py
This commit is contained in:
commit
f589ce673a
@ -157,7 +157,7 @@ code change diff:
|
|||||||
|
|
||||||
content = ''
|
content = ''
|
||||||
for chunk in response:
|
for chunk in response:
|
||||||
content += chunk.choices[0].delta.content
|
content += (chunk.choices[0].delta.content or "")
|
||||||
print('AI says:', content)
|
print('AI says:', content)
|
||||||
return compare_result_parser(content)
|
return compare_result_parser(content)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user