@@ -487,17 +487,17 @@ session routing metadata. The credentials remain in the worker child process
487487for the lifetime of that session, so use TLS for client-to-gateway traffic and
488488follow the security policies for any client that renders the form.
489489
490- The gateway samples perform this handshake automatically. They use the
490+ The dynamic-session samples perform this handshake automatically. They use the
491491repository-local helper module
492- `samples/a2a/gateway /_common.py <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/gateway /_common.py >`__;
492+ `samples/a2a/dynamic /_common.py <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/dynamic /_common.py >`__;
493493``_common ``
494494is not a package that users install with ``pip ``. Running the samples from the
495495repository root as shown below makes that helper available automatically.
496496
497497The helper functions are:
498498
499499``call(method, params) ``
500- Sends one A2A v0.3 JSON-RPC request to the configured gateway endpoint.
500+ Sends one A2A v0.3 JSON-RPC request to the configured server endpoint.
501501
502502``connect(prompt) ``
503503 Sends the initial prompt, reads the A2UI connection form, submits the
@@ -506,26 +506,26 @@ The helper functions are:
506506 A2A context ID for the connected session.
507507
508508``send_prompt(prompt, context_id, blocking=None) ``
509- Sends a database prompt in an existing gateway context . Passing
509+ Sends a database prompt in an existing dynamic session . Passing
510510 ``blocking=False `` adds the non-blocking request option.
511511
512512``print_task_summary(task) ``
513513 Prints the task state, result artifact name, and text parts without dumping
514514 the connection-form details.
515515
516- If you copy a gateway sample into another directory, copy the
517- `_common.py helper <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/gateway /_common.py >`__
516+ If you copy a dynamic-session sample into another directory, copy the
517+ `_common.py helper <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/dynamic /_common.py >`__
518518with it, or replace these helpers with an A2A client implementation of your
519519own.
520520
521- The complete gateway setup is also documented in the
522- `gateway sample README <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/gateway /README.md >`__.
521+ The complete dynamic-session setup is also documented in the
522+ `dynamic sample README <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/dynamic /README.md >`__.
523523The examples below are the
524- `blocking_task.py sample <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/gateway /blocking_task.py >`__
524+ `blocking_task.py sample <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/dynamic /blocking_task.py >`__
525525and the
526- `task_poll.py sample <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/gateway /task_poll.py >`__.
526+ `task_poll.py sample <https://github.com/oracle/python-select-ai/blob/main/samples/a2a/dynamic /task_poll.py >`__.
527527
528- .. literalinclude :: ../../../samples/a2a/gateway /blocking_task.py
528+ .. literalinclude :: ../../../samples/a2a/dynamic /blocking_task.py
529529 :language: python
530530 :lines: 8-
531531
@@ -542,7 +542,7 @@ Run it with:
542542
543543.. code-block :: bash
544544
545- python samples/a2a/gateway /blocking_task.py
545+ python samples/a2a/dynamic /blocking_task.py
546546
547547 Representative output is:
548548
@@ -552,10 +552,10 @@ Representative output is:
552552 Artifact: database-agent-result
553553 The database contains ...
554554
555- The gateway polling sample uses the same connection-form handshake, then
555+ The dynamic polling sample uses the same connection-form handshake, then
556556passes ``configuration.blocking: false `` and polls ``tasks/get ``:
557557
558- .. literalinclude :: ../../../samples/a2a/gateway /task_poll.py
558+ .. literalinclude :: ../../../samples/a2a/dynamic /task_poll.py
559559 :language: python
560560 :lines: 8-
561561
0 commit comments