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:
1 parent
9599d0aecd
commit
da0b94ce59
11 files changed
+90
-17
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user