Fin-DataPilot Deploy Bot commited on
Commit
073ade8
·
1 Parent(s): 3d671ea

ci: d05903d

Browse files
Files changed (1) hide show
  1. app/agent/followup.py +4 -0
app/agent/followup.py CHANGED
@@ -118,6 +118,10 @@ def looks_like_raw_skill_dump(text: str) -> bool:
118
  return False
119
  if "以下是 Skill" in stripped and "```" in stripped:
120
  return True
 
 
 
 
121
  if stripped.startswith(("```json", "```JSON", "{")):
122
  return True
123
  if re.match(r'^\[\s*(?:\{|"|\[)', stripped):
 
118
  return False
119
  if "以下是 Skill" in stripped and "```" in stripped:
120
  return True
121
+ if "检索到" in stripped and "下面只保留可读要点:" in stripped:
122
+ # Previous releases concatenated source excerpts as a fallback.
123
+ # Do not feed that legacy dump back as prose for a rewrite request.
124
+ return True
125
  if stripped.startswith(("```json", "```JSON", "{")):
126
  return True
127
  if re.match(r'^\[\s*(?:\{|"|\[)', stripped):