mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 02:17:46 +08:00
Add Gemini CLI v1internal quota support
This commit is contained in:
@@ -37,6 +37,14 @@ describe('endpoint default paths', () => {
|
||||
})).toBe('/v1/projects/{project_id}/locations/{region}/publishers/google/models/{model}:predict')
|
||||
})
|
||||
|
||||
it('uses Gemini CLI v1internal paths for fixed Gemini CLI endpoints', () => {
|
||||
expect(getDefaultEndpointPath({
|
||||
apiFormat: 'gemini:generate_content',
|
||||
providerType: 'gemini_cli',
|
||||
apiFormats,
|
||||
})).toBe('/v1internal:{action}')
|
||||
})
|
||||
|
||||
it('keeps Codex Responses root path without duplicating /v1', () => {
|
||||
expect(getDefaultEndpointPath({
|
||||
apiFormat: 'openai:responses',
|
||||
|
||||
Reference in New Issue
Block a user