Files
sleepy 66b525a24b feat: add federation tests and update README documentation
Changes:
- Add tests/test_federation.py with 5 test cases
  - test_federation_result_creation: Test FederationResult dataclass
  - test_peer_vote_creation: Test PeerVote dataclass
  - test_federation_result_empty_peers: Test with no peer votes
  - test_federation_result_multiple_peers: Test with 5 peer votes
  - test_federation_result_winner_tracking: Test winner selection logic

- Update README.md with federation streaming documentation
  - Parallel execution feature description
  - Streaming support explanation
  - Winner tracking and logging
  - Accurate token usage reporting
  - Token counts in streaming and non-streaming modes

All tests pass: 5/5

Documentation improvements:
- Clarify federation benefits (parallel, streaming, winner tracking)
- Explain token reporting (prompt, completion, total)
- Update API endpoints section
2026-02-24 23:48:39 +01:00
..