Skip to content

Commit 165fdc1

Browse files
build_generator: llm_agent: reduce sleep time (#1024)
I found 60 seconds to be quite excessive and makes experimentation really slow. I did not find any problems with a reduced sleep time.
1 parent fe722a0 commit 165fdc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experimental/build_generator/llm_agent.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ def execute(self, result_history: list[Result]) -> BuildResult:
247247
try:
248248
client = self.llm.get_chat_client(model=self.llm.get_model())
249249
while prompt:
250-
# Sleep for a minute to avoid over RPM
251-
time.sleep(60)
250+
# Sleep shortly to avoid RPM
251+
time.sleep(6)
252252

253253
response = self.chat_llm(cur_round,
254254
client=client,

0 commit comments

Comments
 (0)