사용자별 credential 저장, lease, projection, runtime 전달과 OpenAI-compatible 계약 및 검증 근거를 함께 반영한다.
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"profiles": [
|
|
{
|
|
"id": "openai",
|
|
"vendor": "openai",
|
|
"credential_kind": "bearer",
|
|
"driver": "openai_chat",
|
|
"base_url": "https://api.openai.com/v1",
|
|
"operation": "chat_completions",
|
|
"operation_path": "/chat/completions",
|
|
"auth_header": "Authorization",
|
|
"auth_scheme": "Bearer"
|
|
},
|
|
{
|
|
"id": "anthropic",
|
|
"vendor": "anthropic",
|
|
"credential_kind": "api_key",
|
|
"driver": "anthropic_messages",
|
|
"base_url": "https://api.anthropic.com",
|
|
"operation": "messages",
|
|
"operation_path": "/v1/messages",
|
|
"auth_header": "x-api-key",
|
|
"auth_scheme": ""
|
|
},
|
|
{
|
|
"id": "seulgi_chat",
|
|
"vendor": "seulgi",
|
|
"credential_kind": "bearer",
|
|
"driver": "openai_chat",
|
|
"base_url": "loopback-only",
|
|
"upstream_model": "credential-smoke-shared-model",
|
|
"operation": "chat_completions",
|
|
"operation_path": "/v1/chat/completions",
|
|
"auth_header": "Authorization",
|
|
"auth_scheme": "Bearer"
|
|
},
|
|
{
|
|
"id": "seulgi_messages",
|
|
"vendor": "seulgi",
|
|
"credential_kind": "api_key",
|
|
"driver": "anthropic_messages",
|
|
"base_url": "loopback-only",
|
|
"upstream_model": "credential-smoke-shared-model",
|
|
"operation": "messages",
|
|
"operation_path": "/v1/messages",
|
|
"auth_header": "x-api-key",
|
|
"auth_scheme": ""
|
|
}
|
|
],
|
|
"routes": [
|
|
{
|
|
"id": "chat-slot-route",
|
|
"slot_alias": "slot-chat",
|
|
"route_alias": "route-chat",
|
|
"profile_id": "seulgi_chat",
|
|
"provider_id": "credential-smoke-chat-provider",
|
|
"upstream_model": "credential-smoke-shared-model"
|
|
},
|
|
{
|
|
"id": "messages-slot-route",
|
|
"slot_alias": "slot-messages",
|
|
"route_alias": "route-messages",
|
|
"profile_id": "seulgi_messages",
|
|
"provider_id": "credential-smoke-messages-provider",
|
|
"upstream_model": "credential-smoke-shared-model"
|
|
}
|
|
]
|
|
}
|