Fix content concatenation in commit_cases.py
This commit is contained in:
parent
b0729ecff9
commit
e4cda90112
@ -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