Closed teslashibe closed 5 months ago
@restevens402 to modify this issue so it covers the rest of the requirements.
Let's first have a spike on this so we can collect our thoughts on a possible solution before jumping into implementation.
the outcome of the spike should be new cards to track that, and have implementation details
It would make sense to need first in place a ledger/consensus state where information about the work and the worker can be annotated, implementation for this is kinda blocked IMHO.
To select a worker we might just check the resources that the request wants and if the worker can satisfy that with its capabilities (e.g. a worker might want to share an LLM service, but maybe not a scraper) - and keep apply a first-come-first-serve approach, especially in the first iteration, but in a synchronized manner.
A simple, first pass implementation that comes to my mind is (without validators):
Implications:
A v1 then could potentially include:
Open points that needs to be solved:
completed in ticket #314
Problem
Currently all nodes will service a request, but the first person to respond wins in the current LLM limitation.
Questions
Solution