[Bug] cronjob create with prompt raises 'str' vs 'int' comparison error #1

Open
opened 2026-05-05 22:58:29 +09:00 by haneul · 0 comments
Collaborator

문제 요약

Hermes 업데이트(797 커밋) 후 cronjob 도구의 create 액션에서 prompt 파라미터를 함께 사용할 때 '<=' not supported between instances of 'str' and 'int' 에러가 발생합니다.

재현 방법

{
  "action": "create",
  "name": "photovault-master-report",
  "prompt": "Read the last 30 lines of ...",
  "schedule": "*/5 * * * *",
  "repeat": "forever",
  "deliver": "origin"
}

실제 에러

'<=' not supported between instances of 'str' and 'int'

우회 해결책

no_agent: true + script 방식으로 우회하여 정상 등록됨:

{
  "action": "create",
  "name": "photovault-master-report",
  "schedule": "*/5 * * * *",
  "no_agent": true,
  "script": "photovault_report.sh"
}

환경

  • Hermes 버전: 업데이트 직후 (2026-05-05, 797 new commits)
  • 이전 상태: 업데이트 전 동일한 prompt로 cronjob 등록이 정상 작동했음

기대 동작

prompt 파라미터를 사용한 LLM 기반 cronjob이 정상적으로 생성되어야 함.

비고

  • 이 버그는 PhotoVault 재인덱싱 모니터링 cronjob 복원 중 발견됨.
  • 현재 no_agent 스크립트 모드로 임시 해결했으나, LLM 기반 cronjob 기능이 필요할 경우 수정이 필요함.
  • Labels: bug, hermes, cronjob
## 문제 요약 Hermes 업데이트(797 커밋) 후 `cronjob` 도구의 `create` 액션에서 `prompt` 파라미터를 함께 사용할 때 `'<=' not supported between instances of 'str' and 'int'` 에러가 발생합니다. ## 재현 방법 ```json { "action": "create", "name": "photovault-master-report", "prompt": "Read the last 30 lines of ...", "schedule": "*/5 * * * *", "repeat": "forever", "deliver": "origin" } ``` ## 실제 에러 ``` '<=' not supported between instances of 'str' and 'int' ``` ## 우회 해결책 `no_agent: true` + `script` 방식으로 우회하여 정상 등록됨: ```json { "action": "create", "name": "photovault-master-report", "schedule": "*/5 * * * *", "no_agent": true, "script": "photovault_report.sh" } ``` ## 환경 - Hermes 버전: 업데이트 직후 (2026-05-05, 797 new commits) - 이전 상태: 업데이트 전 동일한 prompt로 cronjob 등록이 정상 작동했음 ## 기대 동작 `prompt` 파라미터를 사용한 LLM 기반 cronjob이 정상적으로 생성되어야 함. ## 비고 - 이 버그는 PhotoVault 재인덱싱 모니터링 cronjob 복원 중 발견됨. - 현재 `no_agent` 스크립트 모드로 임시 해결했으나, LLM 기반 cronjob 기능이 필요할 경우 수정이 필요함. - Labels: bug, hermes, cronjob
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pinksky/Minicity-hermes#1