Skip to content

Conversation

@iwilltry42
Copy link
Contributor

Depends on gptscript-ai/chat-completion-client#3

Disable retries by setting env GPTSCRIPT_DISABLE_RETRIES to anything.
E.g. in Otto8 if I wanted to disable retries on the website-cleaning tool:

task, err := h.invoker.SystemTask(ctx, thread, system.WebsiteCleanTool, string(content), invoke.SystemTaskOptions{
				Env: []string{"GPTSCRIPT_DISABLE_RETRIES=1"},
			})

g-linville
g-linville previously approved these changes Dec 16, 2024
thedadams
thedadams previously approved these changes Dec 16, 2024
@iwilltry42 iwilltry42 dismissed stale reviews from thedadams and g-linville via 3701afe December 16, 2024 20:39
@iwilltry42 iwilltry42 force-pushed the feat/llm-call-retries branch from 3701afe to 09c776e Compare December 16, 2024 20:39
@iwilltry42 iwilltry42 requested a review from thedadams December 16, 2024 21:05
@sangee2004
Copy link
Contributor

LGTM

@iwilltry42 iwilltry42 merged commit eb03680 into gptscript-ai:main Dec 16, 2024
10 checks passed
@iwilltry42 iwilltry42 deleted the feat/llm-call-retries branch December 16, 2024 21:07
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.

4 participants