Skip to content
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

feat: allow providers to be restarted if they stop #733

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

thedadams
Copy link
Contributor

By not caching the client, gptscript is able to restart the provider daemon if it stops. If the daemon is still running, then there is little overhead because the daemon URL is cached and the tool will not be completely reprocessed.

The model to provider mapping is still cached so that the client can be recreated when necessary.

By not caching the client, gptscript is able to restart the provider
daemon if it stops. If the daemon is still running, then there is little
overhead because the daemon URL is cached and the tool will not be
completely reprocessed.

The model to provider mapping is still cached so that the client can be
recreated when necessary.

Signed-off-by: Donnie Adams <donnie@acorn.io>
@thedadams thedadams merged commit fb32c4c into gptscript-ai:main Aug 7, 2024
10 checks passed
@thedadams thedadams deleted the allow-provider-restart branch August 7, 2024 15:40
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