Run all demos.
()
| 259 | |
| 260 | |
| 261 | async def main(): |
| 262 | """Run all demos.""" |
| 263 | print("\n🚀 Tool Schema Demo - Using Tool Base Class\n") |
| 264 | |
| 265 | try: |
| 266 | # Demo 1: Tool objects with LLM |
| 267 | await demo_tool_schemas() |
| 268 | |
| 269 | # Demo 2: Multiple tools |
| 270 | await demo_multiple_tools() |
| 271 | |
| 272 | # Demo 3: Schema methods |
| 273 | await demo_tool_schema_methods() |
| 274 | |
| 275 | print("\n✅ All demos completed successfully!") |
| 276 | |
| 277 | except Exception as e: |
| 278 | print(f"\n❌ Error: {e}") |
| 279 | import traceback |
| 280 | |
| 281 | traceback.print_exc() |
| 282 | |
| 283 | |
| 284 | if __name__ == "__main__": |
no test coverage detected