We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ddb90d commit d7d23d4Copy full SHA for d7d23d4
swift/plugin/agent_template/glm4.py
@@ -83,6 +83,7 @@ class GLM4_5AgentTemplate(BaseAgentTemplate):
83
@staticmethod
84
def _find_function_call(single_content: str) -> Optional['Function']:
85
from swift.llm.infer import Function
86
+ single_content = single_content.strip()
87
func_name_match = re.match(r'^([^\n<]+)', single_content)
88
if not func_name_match:
89
return None
0 commit comments