Skip to content

Building AI agents, atomically

Black formatting

KennyVaneetvelded8fe1c6eb243
diff --git a/atomic-agents/atomic_agents/base/base_io_schema.py b/atomic-agents/atomic_agents/base/base_io_schema.py
index 8fb9b61..0190d14 100644
--- a/atomic-agents/atomic_agents/base/base_io_schema.py
+++ b/atomic-agents/atomic_agents/base/base_io_schema.py
@@ -24,9 +24,8 @@ class BaseIOSchema(BaseModel):
if not description or not description.strip():
# Skip validation for instructor-generated schemas (both old and new module paths)
- if (
- cls.__module__ not in ("instructor.function_calls", "instructor.processing.function_calls")
- and not hasattr(cls, "from_streaming_response")
+ if cls.__module__ not in ("instructor.function_calls", "instructor.processing.function_calls") and not hasattr(
+ cls, "from_streaming_response"
):
raise ValueError(f"{cls.__name__} must have a non-empty docstring to serve as its description")