[Bug]: inconsistent SIGINT behavior
Opened this issue ยท 1 comments
teocns commented
Contact Details
๐ฆ Package Version
latest
๐๏ธ Framework Version
N/A
๐ Describe the Bug
import os
import time
import agentops
import dotenv
dotenv.load_dotenv()
agentops.init(api_key=os.environ["AGENTOPS_API_KEY"])
while True:
time.sleep(0.2)
-
Run the script
-
Spam
<C-c>
-
Won't [always] terminate
๐ AgentOps: Session Replay: https://app.agentops.ai/drilldown?session_id=6f8b6bee-33c5-4288-9377-c1f2bb0d264f
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
^C๐ AgentOps: SIGINT detected. Ending session...
... (Goes on forever)
๐ค Contribution
- Yes, I'd be happy to submit a pull request with these changes.
- I need some guidance on how to contribute.
- I'd prefer the AgentOps team to handle this update.
oogxdd commented
+on this