AI-Engineer-Foundation / agent-protocol

Common interface for interacting with AI agents. The protocol is tech stack agnostic - you can use it with any framework for building agents.
https://agentprotocol.ai
MIT License
999 stars 120 forks source link

JS SDK: Bug - the full StepRequestBody should be passed to the execute step handler #5 #81

Open hackgoofer opened 11 months ago

hackgoofer commented 11 months ago

The internal step handler is only passing the input text to the step which means it can't access the missing additional_input properties in https://github.com/AI-Engineer-Foundation/agent-protocol-sdk-js/issues/4. The full request body should be passed to the handler.

The link to the original issue. https://github.com/AI-Engineer-Foundation/agent-protocol-sdk-js/issues/5