Skip to content

🐛 Bug: Docs for useHumanInTheLoop and other new hooks seem to be off #2625

@tamashalasi

Description

@tamashalasi

♻️ Reproduction Steps

  • Go to https://docs.copilotkit.ai/reference/hooks/useHumanInTheLoop
  • Docs suggest using a Zod object for the parameters property, which doesn't work with current version (1.10.6)
  • The image on the top is broken (same with useRenderToolCall)
  • Navigation on the left is broken, seems like the new hooks are not there yet, even though useCopilotAction already says that it is deprecated and you should use useHumanInTheLoop and the other new hooks instead

✅ Expected Behavior

Working code in docs.

❌ Actual Behavior

Code in docs doesn't work.

𝌚 CopilotKit Version

├── @copilotkit/react-core@1.10.6
├── @copilotkit/react-ui@1.10.6
├── @copilotkit/runtime@1.10.6

📄 Logs (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions