npi-ai / npi

Action library for AI Agent
https://www.npi.ai
Apache License 2.0
191 stars 7 forks source link

refactor: async tool calls #13

Closed idiotWu closed 7 months ago

idiotWu commented 7 months ago

This PR:

  1. Replaced long polling in callback.py with future
  2. Supported both sync/async tool definitions
  3. Introduced a new logger loguru