Skip to content

Commit fa470e3

Browse files
authored
chore(log): flip logger.info to logger.debug for LLM (#425)
1 parent 2076795 commit fa470e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openhands/sdk/llm/llm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def _init_model_info_and_caps(self) -> None:
585585
f"Got model info from litellm proxy: {self._model_info}"
586586
)
587587
except Exception as e:
588-
logger.info(f"Error fetching model info from proxy: {e}")
588+
logger.debug(f"Error fetching model info from proxy: {e}")
589589

590590
# Fallbacks: try base name variants
591591
if not self._model_info:
@@ -620,7 +620,7 @@ def _init_model_info_and_caps(self) -> None:
620620

621621
# Function-calling capabilities
622622
feats = get_features(self.model)
623-
logger.info(f"Model features for {self.model}: {feats}")
623+
logger.debug(f"Model features for {self.model}: {feats}")
624624
self._function_calling_active = (
625625
self.native_tool_calling
626626
if self.native_tool_calling is not None
@@ -716,7 +716,7 @@ def format_messages_for_llm(self, messages: list[Message]) -> list[dict]:
716716
return [message.to_llm_dict() for message in messages]
717717

718718
def get_token_count(self, messages: list[Message]) -> int:
719-
logger.info(
719+
logger.debug(
720720
"Message objects now include serialized tool calls in token counting"
721721
)
722722
formatted_messages = self.format_messages_for_llm(messages)

0 commit comments

Comments
 (0)