Skip to content

Commit d76d2b6

Browse files
committed
fix linting
Signed-off-by: Eran Raichstein <eranra@il.ibm.com>
1 parent efd25f8 commit d76d2b6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

a2a/generic_agent/src/generic_agent/graph.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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")

a2a/generic_agent/tests/manual_test_skill_loading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,4 @@ async def main():
292292
if __name__ == "__main__":
293293
asyncio.run(main())
294294

295-
# Made with Bob
295+
# Made with Bob

0 commit comments

Comments
 (0)