[fix] fix seed-oss-parser (#23560)

Signed-off-by: jiabin.00 <jiabin.00@bytedance.com>
This commit is contained in:
Bin Jia
2025-08-25 23:16:36 -07:00
committed by GitHub
parent ce0e9dbd43
commit 959783fb99
2 changed files with 5 additions and 7 deletions
@@ -271,6 +271,9 @@ class SeedOssToolParser(ToolParser):
# Extract content after think end token
result_content = model_output[think_end_index:]
thinking_content = model_output[:think_end_index]
else:
thinking_content = ""
result_content = model_output
try:
function_calls = self._get_function_calls(result_content)