gptscript-ai / gemini-aistudio-provider

2 stars 1 forks source link

fix: gracefully exit on interrupt #2

Closed njhale closed 3 months ago

njhale commented 3 months ago

Catch KeyboardInterrupt and asyncio.CancelledError exceptions to ensure the application exits without printing traceback on interrupt. This allows gptscript to kill the provider silently.