Skip to content

Commit d5e3cf2

Browse files
committed
Deployed e668ed9 with MkDocs version: 1.6.1
1 parent 00303a9 commit d5e3cf2

5 files changed

Lines changed: 12 additions & 13 deletions

File tree

migration-guide-0.11/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ <h2 id="4-handle-elicitation-if-your-agent-or-client-advertises-it">4. Handle el
852852
mode: ElicitationMode,
853853
**kwargs: Any,
854854
) -&gt; CreateElicitationResponse:
855-
return AcceptElicitationResponse(content={})
855+
return AcceptElicitationResponse(action=&quot;accept&quot;, content={})
856856

857857
async def complete_elicitation(self, elicitation_id: str, **kwargs: Any) -&gt; None:
858858
...

quickstart/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,8 +992,7 @@ <h2 id="step-4-extend-the-agent">Step 4 — Extend the agent<a class="headerlink
992992
content=[tool_content(text_block(&quot;File opened.&quot;))],
993993
)
994994
</code></pre>
995-
<p>Each helper wraps the generated Pydantic models in <code>acp.schema</code>. Single-value discriminator fields (<code>type</code>, <code>sessionUpdate</code>, and friends) have schema-derived defaults, so direct construction is concise too—for example, <code>TextContentBlock(text="Hello")</code>. ACP's serializers preserve those required tags on the wire while continuing to omit unrelated defaults. Golden fixtures in <code>tests/test_golden.py</code> ensure the helpers stay in sync with future schema revisions.</p>
996-
<p>High-level connections serialize models this way automatically. If you are implementing a custom transport, use <code>acp.utils.serialize_params(model)</code> for outbound payloads; calling <code>model_dump(exclude_defaults=True)</code> directly would omit the defaulted discriminator fields.</p>
995+
<p>Each helper wraps the generated Pydantic models in <code>acp.schema</code>, so the right discriminator fields (<code>type</code>, <code>sessionUpdate</code>, and friends) are always populated. That keeps examples readable while maintaining the same validation guarantees as constructing the models directly. Golden fixtures in <code>tests/test_golden.py</code> ensure the helpers stay in sync with future schema revisions.</p>
997996
<h2 id="optional-talk-to-the-gemini-cli">Optional — Talk to the Gemini CLI<a class="headerlink" href="#optional-talk-to-the-gemini-cli" title="Permanent link">&para;</a></h2>
998997
<p><em>Have the Gemini CLI installed? Run the bridge to exercise permission flows.</em></p>
999998
<p>If you have the Gemini CLI installed and authenticated:</p>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,38 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://agentclientprotocol.github.io/python-sdk/</loc>
5-
<lastmod>2026-08-01</lastmod>
5+
<lastmod>2026-08-17</lastmod>
66
</url>
77
<url>
88
<loc>https://agentclientprotocol.github.io/python-sdk/contrib/</loc>
9-
<lastmod>2026-08-01</lastmod>
9+
<lastmod>2026-08-17</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://agentclientprotocol.github.io/python-sdk/migration-guide-0.11/</loc>
13-
<lastmod>2026-08-01</lastmod>
13+
<lastmod>2026-08-17</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://agentclientprotocol.github.io/python-sdk/migration-guide-0.7/</loc>
17-
<lastmod>2026-08-01</lastmod>
17+
<lastmod>2026-08-17</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://agentclientprotocol.github.io/python-sdk/migration-guide-0.8/</loc>
21-
<lastmod>2026-08-01</lastmod>
21+
<lastmod>2026-08-17</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://agentclientprotocol.github.io/python-sdk/quickstart/</loc>
25-
<lastmod>2026-08-01</lastmod>
25+
<lastmod>2026-08-17</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://agentclientprotocol.github.io/python-sdk/releasing/</loc>
29-
<lastmod>2026-08-01</lastmod>
29+
<lastmod>2026-08-17</lastmod>
3030
</url>
3131
<url>
3232
<loc>https://agentclientprotocol.github.io/python-sdk/use-cases/</loc>
33-
<lastmod>2026-08-01</lastmod>
33+
<lastmod>2026-08-17</lastmod>
3434
</url>
3535
<url>
3636
<loc>https://agentclientprotocol.github.io/python-sdk/web-transport/</loc>
37-
<lastmod>2026-08-01</lastmod>
37+
<lastmod>2026-08-17</lastmod>
3838
</url>
3939
</urlset>

sitemap.xml.gz

-1 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)