0xPlaygrounds / 0xPlaygrounds/rig

feat: make ToolServer a trait

Aperta
#1,026 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
feat low priority
Lingua principale
Rust
Stelle
8.6k
Fork
959
Merge medio
4h 32m
PR unite (30g)
117

Descrizione

- [x] I have looked for existing issues (including closed) about this

## Feature Request

This is a (low priority!) proposal to make ToolServers a trait rather than just having one single ToolServer type. The use case for this is primarily that users may want to pull tools from other sources than just in-memory (for example, tools as WASM modules).

Currently, this feature is very low priority as nobody's asked for it (but it *is* something of interest since the end goal is eventually that every part of Rig should be self-implementable). Please react to this post or comment if you would like this feature.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Look at the existing ToolServer type in the codebase to understand its current responsibilities and interface. The goal is to abstract it into a trait, allowing alternative implementations like WASM modules. Start by identifying all methods the ToolServer provides and defining a trait that captures its core functionality. Check for any existing tests related to ToolServer to ensure the trait design maintains compatibility.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.