Repository navigation
Description
Summary
Domain: remote and automation. The README advertises "Scheduled tasks - cron prompts that deliver back through the channel" and "Heartbeat - periodic wake-up to check pending work", and neither has an example. examples/telegram-channel/docker-compose.yml already sets INFER_TOOLS_SCHEDULE_ENABLED: true on the daemon, but its README never mentions scheduling, so the switch is on with nothing showing what to do with it. examples/kubernetes/orchestrator.yaml sets schedule: true the same way. No file under examples/ mentions the heartbeat at all. Uncovered features: the Schedule tool (operation, cron_expression, prompt, run_once, job_id), tools.schedule.enabled, the job files in ~/.infer/schedules/<id>.yaml that infer daemon hot-reloads, heartbeat.yaml (enabled, interval, initial_delay, model, prompt), INFER_HEARTBEAT_* and infer headless --heartbeat.
Both run without a channel: the daemon records each fire to storage, so an example can run offline against the mock model (INFER_GATEWAY_MOCK=true, INFER_GATEWAY_MOCK_SCENARIOS) under a demo HOME, the way examples/web-terminal runs its daemon.
Acceptance Criteria
- Add
examples/scheduling/(README.md,Taskfile.yml,scenarios.yaml): withINFER_TOOLS_SCHEDULE_ENABLED=true, a headless scenario in--mode autowhere the mock model calls theScheduletool withoperation: create, acron_expressionand aprompt, a task that prints the job file written to~/.infer/schedules/, atask daemonthat runsinfer daemonso the job fires, and a task that shows the recorded run withinfer conversations listandinfer conversations show <id>. - In the same example, a one-off job (
run_once: true) and thelistanddeleteoperations, each as its own scenario. - Add
examples/heartbeat/(README.md,Taskfile.yml,scenarios.yaml,heartbeat.yaml): a shortintervalandinitial_delaywith aprompt,task daemonrunninginfer daemonwith the file seeded into the demo HOME, a task that shows the wake-up's conversation, andtask oncerunninginfer headless --heartbeat "<prompt>"to show the heartbeat system prompt on a single run. - Extend
examples/telegram-channel/README.mdwith a "Scheduled tasks" section that uses the switch its compose file already sets: ask the bot for a recurring job and a one-off reminder, and say that the job's output is delivered back to the same chat. Linkdocs/scheduling.md. - Add the two new examples to the table in
docs/examples.md.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 17, 2026
@infer can you work on this? use /domain-driven-design /clean-architecture /ponytail:ponytail
inference-gateway-maintainer commentedon Nov 17, 2026
Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.9· CLI:v0.262.0· Gateway:v0.67.1· View JobTodos
Pull Request
#1894
❌ Infer Result: Failed
The create scenario works - the mock model called Schedule and the job file was written, with the message exactly as documented. Now the one-off create.
Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.9· CLI:v0.262.0· Gateway:v0.67.1· Exit Code:1· Duration: 25m 59sTokens: 14,229,993 in · 94,158 out · 14,324,151 total (95 requests)
Tool calls: 150 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.263.0 🎉
The release is available on:
Your semantic-release bot 📦🚀