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
1.01k stars 120 forks source link

task/step input were being confused with additional_input #101

Open nalbion opened 9 months ago

nalbion commented 9 months ago

Pull Request

Description

task/step input were being confused with additional_input

Checklist

Please review and check the following items to ensure your pull request can be processed smoothly:

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **agentprotocolai** | ⬜️ Ignored ([Inspect](https://vercel.com/ai-engineers-foundation/agentprotocolai/3XwiE9Me7w7eZYBYVAh9nyqk2Qhu)) | [Visit Preview](https://agentprotocolai-git-fork-nalbion-496c9b-ai-engineers-foundation.vercel.app) | | Feb 10, 2024 1:31pm |
jzanecook commented 7 months ago

Hey @nalbion, can you take a look at the Python SDK? The way it implements the task_handler is by using a Task class, rather than specifying the task_id and task_input in the handler. Perhaps we can change this to match that implementation for more consistency across the repositories?

hackgoofer commented 7 months ago

TaskInput here is any, so you can theoretically include taskID in the any or dict