Skip to content

Commit e7f2c91

Browse files
committed
fix: decrease timeout for llm client
1 parent 11f82a4 commit e7f2c91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/balatrollm/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def __init__(self, config: Config, base_url: str, api_key: str, port: int = 1234
103103
self.config = config
104104
self.model_config = load_model_config(config.model)
105105

106-
self.llm_client = AsyncOpenAI(api_key=api_key, base_url=base_url)
107-
self.balatro_client = BalatroClient(port=port)
106+
self.llm_client = AsyncOpenAI(api_key=api_key, base_url=base_url, timeout=240.0)
107+
self.balatro_client = BalatroClient(port=port, timeout=300.0)
108108
self.strategy_manager = StrategyManager(config.strategy)
109109
self.responses: list[ChatCompletion] = []
110110
self.tools = self.strategy_manager.load_tools()

0 commit comments

Comments
 (0)