Skip to content

Agents example scheduleTask tool doesn't work. getCurrentAgent returns undefined #570

@eastlondoner

Description

@eastlondoner

Describe the bug
The schedule task tool in agents-starter doesn't work because getCurrentAgent returns undefined

To Reproduce

Run npm create cloudflare@latest agents-starter -- --template=cloudflare/agents-starter

  • say no when it asks you to deploy
  • update agents to 0.2.13
  • run npm start
  • ask it to schedule a task
Image

Expected behavior
tool works, getCurrentAgent is defined

Screenshots
see above

Version:
latest 0.2.13

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions