Skip to content

Conversation

@ZackBradshaw
Copy link
Contributor

@ZackBradshaw ZackBradshaw commented Jan 15, 2026

resolves #1295


📚 Documentation preview 📚: https://swarms--1313.org.readthedocs.build/en/1313/

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 15, 2026
@ZackBradshaw
Copy link
Contributor Author

@kyegomez fixed added suggestions

agent_a = Agent(llm="gpt-4o-mini", output_type="dict-final")
agent_b = Agent(llm="gpt-4o-mini", output_type="final")

seq = SequentialWorkflow([agent_a, agent_b])

Check failure

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call SequentialWorkflow.__init__, for 1st positional argument, expected str but got List[Agent].
from swarms.structs.concurrent_workflow import ConcurrentWorkflow

workers = [Agent(llm="gpt-4o-mini", output_type="dict") for _ in range(3)]
cw = ConcurrentWorkflow(workers)

Check failure

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call ConcurrentWorkflow.__init__, for 1st positional argument, expected str but got List[Agent].
@kyegomez
Copy link
Owner

@ZackBradshaw no python example file here, remove pydantic schema

@ZackBradshaw
Copy link
Contributor Author

@kyegomez Added suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Comprehensive guide for Agent output formats and Swarm architecture response types

2 participants