You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9581926
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: dotnet/samples/04-hosting/af-hosting/local_responses/Server/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,9 @@ The route persists each turn under a continuation id chosen by how the caller co
25
25
under the newly minted response id, so a later `previous_response_id` can branch from that exact point and
26
26
two branches from the same prior response stay independent.
27
27
28
-
The agent has a deterministic `lookup_weather` tool. Binds to `http://localhost:5000` (override with
29
-
`ASPNETCORE_URLS`).
28
+
The agent has a deterministic `lookup_weather` tool. Binds to `http://localhost:5000`. To use a different address,
29
+
change the URL passed to `app.Run` in `Program.cs` and set `RESPONSES_SERVER_URL` to the same address
Copy file name to clipboardExpand all lines: dotnet/samples/04-hosting/af-hosting/local_responses_workflow/Server/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,9 @@ This server supports **`previous_response_id` continuation only** and **rejects
11
11
with HTTP 400**. Because `previous_response_id` rotates every turn, the app owns a cursor that maps each
12
12
response id to the stable workflow session id, so the whole rotating chain resumes the same checkpointed
13
13
run. The first turn runs the workflow forward; later turns restore the latest checkpoint and run forward
14
-
with the new brief. Binds to `http://localhost:5001` (override with `ASPNETCORE_URLS`).
14
+
with the new brief. Binds to `http://localhost:5001`. To use a different address,
15
+
change the URL passed to `app.Run` in `Program.cs` and set `RESPONSES_SERVER_URL` to the same address
16
+
in the client shell.
15
17
16
18
`HostedWorkflowState` is constructed with a **workflow factory** and `cacheWorkflow: false` (the default,
17
19
shown explicitly), so it builds a fresh workflow instance for every run. This lets independent sessions run
0 commit comments