[codex] proxy provider model fetches (#777)

* proxy provider model fetches

* add provider model proxy e2e
This commit is contained in:
ekko
2026-05-16 08:57:00 +08:00
committed by GitHub
parent d066806d86
commit 07257a8964
6 changed files with 120 additions and 12 deletions
+5
View File
@@ -143,6 +143,11 @@ export async function mockHermesApi(page: Page, options: MockHermesApiOptions =
return
}
if (pathname === '/api/hermes/provider-models') {
await route.fulfill(jsonResponse({ models: ['proxy-model-a', 'proxy-model-b'] }))
return
}
if (pathname === '/api/hermes/profiles') {
await route.fulfill(jsonResponse({
profiles: [