Skip to content

Fix: use milliseconds to record state file #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

StrongMonkey
Copy link
Contributor

A previous attempt that uses time.Unix() as state file could cause conflicts, because there could be multiple calls happening at the same second when tools are invoked. Changing this to MilliSeconds should work.

@StrongMonkey StrongMonkey merged commit 1fb78c2 into gptscript-ai:main Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants