Skip to content

docs(agent): Update agent docs flwr version to 1.35 - #8001

Closed
dstripelis wants to merge 2 commits into
mainfrom
refactor/update-agent-docs-flwr-version
Closed

docs(agent): Update agent docs flwr version to 1.35#8001
dstripelis wants to merge 2 commits into
mainfrom
refactor/update-agent-docs-flwr-version

Conversation

@dstripelis

Copy link
Copy Markdown
Member

Summary

This is documentation-only and introduces no behavioral changes. Updates the Flower Agent documentation to reference Flower 1.35.0 instead of 1.34.0, covering CLI commands, dependencies, runtime references, and flwr-version-target settings. This keeps all examples aligned with the latest Flower release.

Why

Flower 1.35.0 is now the current release, but the Flower Agent documentation still referenced 1.34.0.

What

  • CLI commands and uvx version pins
  • Example project dependencies
  • flwr-version-target settings
  • Runtime and feature-version references

Copilot AI lite review requested due to automatic review settings August 25, 2026 15:35
@dstripelis dstripelis closed this Aug 25, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5c049382ff

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".


```{note}
This tutorial targets Flower 1.34.0. Flower Agent and `flwr chat` are
This tutorial targets Flower 1.35.0. Flower Agent and `flwr chat` are

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Document interactive history for the 1.35 tutorial

After retargeting this tutorial to 1.35, its command list still omits /history and lines 129–130 incorrectly state that older run series cannot be restored interactively. The 1.35 CLI registers /history as “Show or continue conversation history” in framework/py/flwr/cli/constant.py:58-64 and handles it in chat_app.py:474-477, so users following the pinned tutorial are unnecessarily directed to the browser instead of the supported CLI workflow.

Useful? React with 👍 / 👎.

The following `uv run` examples use the Flower version installed in your local
project environment. To stay consistent with the rest of this guide, ensure
that environment has `flwr==1.34.0` installed.
that environment has `flwr==1.35.0` installed.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Explain the 1.35 in-chat federation selector

For the newly specified 1.35 environment, lines 89–100 present config editing plus a restart as the only way to change the flwr chat federation and recommend flwr run for frequent switching. Version 1.35 handles /federation directly in framework/py/flwr/cli/chat/chat_app.py:478-509, so this guide now sends users through an obsolete and substantially more disruptive workflow.

Useful? React with 👍 / 👎.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates Flower Agent documentation from version 1.34.0 to 1.35.0.

Changes:

  • Updates CLI pins, dependencies, and runtime references.
  • Refreshes flwr-version-target settings and examples.
  • Notes a documentation nit for the new /federation workflow.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Summary
agent/docs/source/tutorials/write-your-first-agentapp.md Updates dependency and target versions.
agent/docs/source/tutorials/get-started-with-flower-agent.md Updates CLI pins and version output.
agent/docs/source/tutorials/build-a-collaborative-agent.md Updates dependency and target versions.
agent/docs/source/how-to-guides/use-agents-and-federations.md Updates CLI and runtime references; should document the /federation workflow.
agent/docs/source/how-to-guides/troubleshoot-agent-runs.md Updates troubleshooting CLI pins.
agent/docs/source/how-to-guides/create-automations.md Updates runtime version references.
agent/docs/source/how-to-guides/connect-accounts.md Updates connector support version.
agent/docs/source/explanations/agentapp-runtime.md Updates runtime version references.
Suppressed comments (6)

agent/docs/source/explanations/agentapp-runtime.md:49

  • This version update makes the run-series description below inconsistent with the 1.35 CLI: changing federations with /federation clears the current series_id, but the text says the series is reused until only /new or an agent change. Add /federation as another reset condition.
object. The Flower 1.35.0 runtime recognizes:

agent/docs/source/how-to-guides/use-agents-and-federations.md:150

  • The 1.35.0 update also makes the statement at lines 143-144 incorrect: flwr chat now has /history, which interactively lists saved conversations and lets the user continue one. Replace the old limitation with the /history workflow.
run. Flower 1.35.0 rejects account-connector references for a collaborative

agent/docs/source/tutorials/get-started-with-flower-agent.md:10

  • Retargeting this tutorial to 1.35.0 leaves its later chat-command and history guidance stale: Flower 1.35 adds /federation and /history, and /history can resume a selected run series, so the / command list and the statement that chat cannot restore an older series are now incorrect. Please update those sections to match the pinned CLI.
This tutorial targets Flower 1.35.0. Flower Agent and `flwr chat` are

agent/docs/source/tutorials/get-started-with-flower-agent.md:60

  • The command list below is incomplete for the 1.35.0 CLI: flwr chat now exposes /federation and /history, but lines 119-121 list only /help, /new, and /quit. Since this section says it lists the available commands, add the two new commands so users can discover federation switching and history continuation.
$ uvx --from flwr==1.35.0 flwr chat

agent/docs/source/tutorials/get-started-with-flower-agent.md:60

  • Updating this command to 1.35.0 leaves the limitation at lines 129-130 stale. flwr chat now supports /history with an interactive selector that loads and continues a selected run series, so this tutorial tells users the opposite of the current behavior; replace that paragraph with the /history workflow.
$ uvx --from flwr==1.35.0 flwr chat

agent/docs/source/tutorials/get-started-with-flower-agent.md:60

  • The 1.35.0 flwr chat implementation starts in the personal federation and uses /federation to switch federations; it does not select agents from the federation configured in ~/.flwr/config.toml. The description at lines 99-100 is therefore inaccurate for this version and should be rewritten to describe the personal default and current federation.
$ uvx --from flwr==1.35.0 flwr chat

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


```console
$ uvx --from flwr==1.34.0 flwr run @publisher/agent supergrid \
$ uvx --from flwr==1.35.0 flwr run @publisher/agent supergrid \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants