chore: prepare GoodBuddy 0.8.5

This commit is contained in:
lofyer
2026-08-07 10:45:01 +08:00
parent e20cb447af
commit 17e66a3369
54 changed files with 1306 additions and 1640 deletions
+10
View File
@@ -19,4 +19,14 @@ describe('Anthropic endpoint normalization', () => {
createAnthropicMessagesUrl('https://model.example/v1').toString()
).toBe('https://model.example/v1/messages')
})
it('keeps a gateway query and intranet path prefix on the request URL', () => {
expect(
createAnthropicMessagesUrl(
'http://10.0.0.5:8000/gateway?api-version=2024-02-01'
).toString()
).toBe(
'http://10.0.0.5:8000/gateway/v1/messages?api-version=2024-02-01'
)
})
})