Skip to content

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 <[email protected]>
@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