mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Fix missing comma in hosts (#8345)
This commit is contained in:
@@ -662,7 +662,7 @@ class LLM(RetryMixin, DebugMixin):
|
||||
boolean: True if executing a local model.
|
||||
"""
|
||||
if self.config.base_url is not None:
|
||||
for substring in ['localhost', '127.0.0.1' '0.0.0.0']:
|
||||
for substring in ['localhost', '127.0.0.1', '0.0.0.0']:
|
||||
if substring in self.config.base_url:
|
||||
return True
|
||||
elif self.config.model is not None:
|
||||
|
||||
Reference in New Issue
Block a user