akseljoonas HF Staff commited on
Commit
abe525d
·
1 Parent(s): dc4c760

Show full job script in CLI instead of truncated snippet

Browse files
Files changed (1) hide show
  1. agent/main.py +2 -5
agent/main.py CHANGED
@@ -174,11 +174,8 @@ async def event_listener(
174
  python_version = arguments.get("python")
175
  script_args = arguments.get("script_args", [])
176
 
177
- # Show script (truncate if too long)
178
- script_display = (
179
- script if len(script) < 200 else script[:200] + "..."
180
- )
181
- print(f"Script: {script_display}")
182
  if dependencies:
183
  print(f"Dependencies: {', '.join(dependencies)}")
184
  if python_version:
 
174
  python_version = arguments.get("python")
175
  script_args = arguments.get("script_args", [])
176
 
177
+ # Show full script
178
+ print(f"Script:\n{script}")
 
 
 
179
  if dependencies:
180
  print(f"Dependencies: {', '.join(dependencies)}")
181
  if python_version: