Skip to content

Commit e7ae24b

Browse files
authored
fix(mcp): allinea al pattern Lab — structured_output + guard_timed (#56)
* fix(mcp): allinea al pattern Lab — structured_output + guard_timed - Aggiunge structured_output=True a tutti i tool - Sostituisce _tool_error() custom con guard_timed - Cambia return type da str (JSON serializzato) a dict - Rimuove 61 righe nette di codice boilerplate - Aggiorna i test per il nuovo formato dict * fix(test): allinea test allo schema errore di guard_timed - I test di errore non usano piu' assert result['ok'] is False - guard_timed torna {'error': code, 'message': text} senza ok - I test verificano solo 'error' in result, coerente con tutto il Lab
1 parent 3154c76 commit e7ae24b

2 files changed

Lines changed: 195 additions & 268 deletions

File tree

0 commit comments

Comments
 (0)