mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-04 20:05:11 -05:00
Convert all CoPilot tools from kwargs.get() pattern to Pydantic models: Tools updated: - find_agent.py: FindAgentInput - find_library_agent.py: FindLibraryAgentInput - find_block.py: FindBlockInput - search_docs.py: SearchDocsInput - get_doc_page.py: GetDocPageInput - create_agent.py: CreateAgentInput - edit_agent.py: EditAgentInput - run_block.py: RunBlockInput - workspace_files.py: 4 input models (List/Read/Write/Delete) Benefits: - Type safety with automatic validation - Consistent string stripping via field_validators - Better IDE support and error messages - Cleaner _execute methods using params object Addresses ntindle review feedback about kwargs pattern.