agent-protocol-sdk-js's People
agent-protocol-sdk-js's Issues
Bug: StepInput and StepOutput should be typed as string|undefined
The typing for StepInput and StepOutput doesn't match the current protocol spec which is a nullable string. These should be typed as string|undefined
not any
.
Bug: the full StepRequestBody should be passed to the execute step handler
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 #4. The full request body should be passed to the handler.
Bug: all request & response interfaces are missing `additional_input` and `additional_output` properties.
If you look at the StepRequestBody interface its missing the additional_input property. This should probably be typed as Record<string,unknown>
. Same goes for the step response and task level request & response objects.
Feature: Add a storage abstraction for persisting task objects and artifacts to other storage locations like redis
Is your feature request related to a problem? Please describe.
You can't scale out an Agent because tasks and artifacts are only ever stored in memory.
Describe the solution you'd like
There should be a storage abstraction added that lets you replace the in-memory based storage of tasks and artifacts with an external storage container like redis. I would also add the ability for the Agent developer to store their own state alongside the tasks and artifacts.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.