feat(models): add native Anthropic Messages and observed endpoint diagnostics
This commit is contained in:
@@ -23,6 +23,7 @@ export function modelSnapshot(config) {
|
||||
...modelWaitSettings(config),
|
||||
...modelIdentitySettings(config),
|
||||
...(config.protocol ? { protocol: config.protocol, streaming: config.streaming === true } : {}),
|
||||
...(config.protocol === 'anthropic-messages' ? { messagesAuth: config.messagesAuth ?? 'api-key' } : {}),
|
||||
...(config.nativeParameters ? { nativeParameters: structuredClone(config.nativeParameters), outputTokenField: config.outputTokenField } : {}),
|
||||
...(config.modelRouting ? { routing: structuredClone(config.modelRouting) } : {}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user