npi-ai / npi

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

refactor: async tool calls #13

Closed idiotWu closed 6 months ago

idiotWu commented 6 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