You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to approach this problem the same way as in the compiled (non-script application).
CLR, understandably, does not provide any specific mechanism for that so you will need to implement it by yourself. IE run your task in a separate thread and monitor/abort it
Thank you for your idea, but it seems that threads cannot be used in my application scenario, and separate processes are needed, but the exception communication between processes will be more tedious. I temporarily choose to use the jsonschema pattern of LLM to check the possibility of infinite loop of the script, and the accuracy can meet the requirements, a strange solution 😂
How do I set a timeout if I have an infinite loop in my script?
The text was updated successfully, but these errors were encountered: