Normalize Glas execution evidence
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a028de-e2c8-7732-8521-46a7fc5db82f
This commit is contained in:
parent
b933cf52c8
commit
7e81545b24
13 changed files with 528 additions and 33 deletions
|
|
@ -123,9 +123,13 @@ def normalise_execution_refs(raw: Any) -> dict[str, Any]:
|
|||
value = raw.get(key)
|
||||
if key in _LIST_REF_KEYS:
|
||||
if isinstance(value, (list, tuple)):
|
||||
items = [str(item).strip() for item in value if str(item).strip()]
|
||||
items = [
|
||||
item.strip()[:500]
|
||||
for item in value[:20]
|
||||
if isinstance(item, str) and item.strip()
|
||||
]
|
||||
if items:
|
||||
refs[key] = items
|
||||
elif isinstance(value, str) and value.strip():
|
||||
refs[key] = value.strip()
|
||||
refs[key] = value.strip()[:500]
|
||||
return refs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue