Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/src/agents/document_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _create_agent(self, **kwargs) -> Agent:
agent = Agent(
model=self.model,
deps_type=DocumentDependencies,
result_type=DocumentOperation,
output_type=DocumentOperation,
Comment on lines 76 to +79
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Document agent ctor incompatible with pinned pydantic-ai

The document agent now calls Agent(..., output_type=DocumentOperation, ...), but python/uv.lock still pins pydantic-ai at 0.0.55 (python/uv.lock lines 2125-2133). In that version the Agent constructor expects result_type; output_type is not a recognized keyword, so _create_agent will raise TypeError and the document agent cannot start unless the dependency is upgraded to ≥1.0 or the old parameter is kept.

Useful? React with 👍 / 👎.

system_prompt="""You are a Document Management Assistant that helps users create, update, and modify project documents through conversation.

**Your Capabilities:**
Expand Down