File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def get_mcpclient() -> MultiServerMCPClient:
3434
3535 Returns:
3636 MultiServerMCPClient instance (may have empty configs if all servers fail)
37-
37+
3838 Note:
3939 This function is not cached to allow retry on transient failures.
4040 Each call creates a new client instance.
@@ -118,7 +118,7 @@ def load_skills_content() -> str:
118118
119119 Returns:
120120 Combined skill content as a string, or empty string if no skills found
121-
121+
122122 Note:
123123 Content is limited to 100KB total to avoid exceeding LLM context windows
124124 and ConfigMap size limits (1 MiB). A warning is logged if this limit is exceeded.
@@ -212,13 +212,13 @@ def load_skills_content() -> str:
212212 loaded_count = len (skills_content )
213213 final_content = "\n \n " + "\n \n ---\n \n " .join (skills_content )
214214 logger .info (f"Successfully loaded { loaded_count } skill(s), total size: { len (final_content )} bytes" )
215-
215+
216216 if len (final_content ) > MAX_CONTENT_SIZE :
217217 logger .warning (
218218 f"Total skill content size ({ len (final_content )} bytes) exceeds recommended limit "
219219 f"({ MAX_CONTENT_SIZE } bytes). This may impact LLM context window and ConfigMap limits."
220220 )
221-
221+
222222 return final_content
223223
224224 logger .info ("No skills loaded" )
Original file line number Diff line number Diff line change @@ -292,4 +292,4 @@ async def main():
292292if __name__ == "__main__" :
293293 asyncio .run (main ())
294294
295- # Made with Bob
295+ # Made with Bob
You can’t perform that action at this time.
0 commit comments