Q85: custom endpoints accept local HTTP servers and keyless access

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 14:28:01 -04:00
1 parent 9599d0aecd
commit da0b94ce59
11 files changed
+90 -17

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ describe("provider contracts", () => {
expect(() => providerAdapters[providerKey].parseAuthProfile(JSON.stringify({
baseUrl: "http://api.example.com/v1",
secret: "sk-custom",
}))).toThrow("Base URL must use HTTPS.");
}))).toThrow("Base URL must use HTTPS unless it is on this computer or the local network.");
expect(() => providerAdapters[providerKey].parseAuthProfile(JSON.stringify({
baseUrl: "https://user:token@api.example.com/v1",
secret: "sk-custom",