test(proxy): expect OpenAI's mirrored base_instructions dropped in the Codex catalog integration test

This commit is contained in:
mateo-berri 2026-11-04 17:05:40 -08:00
parent c663a8c008
commit 783b914581

View file

@ -63,11 +63,13 @@ def _published_entry() -> dict[str, JsonValue]:
def _openai_entry() -> dict[str, JsonValue]:
published: Final = _published_entry()
return {
**_published_entry(),
**published,
"slug": OPENAI_SLUG,
"display_name": "OpenAI Release",
"base_instructions": OPENAI_PROMPT,
"model_messages": {**object_value(published["model_messages"]), "instructions_template": OPENAI_PROMPT},
}
@ -140,6 +142,7 @@ def test_a_release_openai_serves_is_fetched_from_openai_with_the_deployment_key_
listing: Final = _catalog_listing(gateway, OPENAI_VERSION, OPENAI_SLUG)
expected: Final = {
**_openai_entry(),
"base_instructions": "",
"priority": listing[OPENAI_SLUG]["priority"],
"visibility": "list",
"supported_in_api": True,