Skip to content

Commit 0e3d686

Browse files
Document why getcurrent snapshot lists gpt-5.4
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c50207a commit 0e3d686

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/snapshots/rpc_session_state/should_call_session_rpc_model_getcurrent.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# gpt-5.4 is listed here only because this is the first test in
2+
# rpc_session_state.e2e.test.ts to create a session. The runtime caches
3+
# /models per (auth, base_url) for 30 minutes (see capi_client.rs
4+
# LIST_MODELS_CACHE), so the first snapshot's models are reused by every
5+
# subsequent test sharing the same client. The "should call session rpc
6+
# model switchto" test needs gpt-5.4 in that cached list to validate.
7+
# If you reorder the tests, move this comment + entry to whichever test
8+
# now runs first.
19
models:
210
- claude-sonnet-4.5
311
- gpt-5.4

0 commit comments

Comments
 (0)