mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-09-10 12:22:13 +08:00
chore: update OpenAPI specification from openrouter-web (#11)
Co-authored-by: yogasanas <124478414+yogasanas@users.noreply.github.com>
This commit is contained in:
co-authored by
yogasanas
parent
07e2eff913
commit
565f022323
@@ -3019,9 +3019,36 @@ components:
|
|||||||
example:
|
example:
|
||||||
data:
|
data:
|
||||||
- id: openai/gpt-4
|
- id: openai/gpt-4
|
||||||
|
canonical_slug: openai/gpt-4
|
||||||
name: GPT-4
|
name: GPT-4
|
||||||
created: 1692901234
|
created: 1692901234
|
||||||
description: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
|
description: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
|
||||||
|
pricing:
|
||||||
|
prompt: '0.00003'
|
||||||
|
completion: '0.00006'
|
||||||
|
request: '0'
|
||||||
|
image: '0'
|
||||||
|
context_length: 8192
|
||||||
|
architecture:
|
||||||
|
tokenizer: GPT
|
||||||
|
instruct_type: chatml
|
||||||
|
modality: text->text
|
||||||
|
input_modalities:
|
||||||
|
- text
|
||||||
|
output_modalities:
|
||||||
|
- text
|
||||||
|
top_provider:
|
||||||
|
context_length: 8192
|
||||||
|
max_completion_tokens: 4096
|
||||||
|
is_moderated: true
|
||||||
|
per_request_limits: null
|
||||||
|
supported_parameters:
|
||||||
|
- temperature
|
||||||
|
- top_p
|
||||||
|
- max_tokens
|
||||||
|
- frequency_penalty
|
||||||
|
- presence_penalty
|
||||||
|
default_parameters: null
|
||||||
ListEndpointsResponse:
|
ListEndpointsResponse:
|
||||||
type: object
|
type: object
|
||||||
description: List of available endpoints for a model
|
description: List of available endpoints for a model
|
||||||
@@ -3030,6 +3057,37 @@ components:
|
|||||||
name: GPT-4
|
name: GPT-4
|
||||||
created: 1692901234
|
created: 1692901234
|
||||||
description: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
|
description: GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
|
||||||
|
architecture:
|
||||||
|
tokenizer: GPT
|
||||||
|
instruct_type: chatml
|
||||||
|
modality: text->text
|
||||||
|
input_modalities:
|
||||||
|
- text
|
||||||
|
output_modalities:
|
||||||
|
- text
|
||||||
|
endpoints:
|
||||||
|
- name: 'OpenAI: GPT-4'
|
||||||
|
model_name: GPT-4
|
||||||
|
context_length: 8192
|
||||||
|
pricing:
|
||||||
|
prompt: '0.00003'
|
||||||
|
completion: '0.00006'
|
||||||
|
request: '0'
|
||||||
|
image: '0'
|
||||||
|
provider_name: OpenAI
|
||||||
|
tag: openai
|
||||||
|
quantization: fp16
|
||||||
|
max_completion_tokens: 4096
|
||||||
|
max_prompt_tokens: 8192
|
||||||
|
supported_parameters:
|
||||||
|
- temperature
|
||||||
|
- top_p
|
||||||
|
- max_tokens
|
||||||
|
- frequency_penalty
|
||||||
|
- presence_penalty
|
||||||
|
status: default
|
||||||
|
uptime_last_30m: 99.5
|
||||||
|
supports_implicit_caching: true
|
||||||
PublicEndpoint:
|
PublicEndpoint:
|
||||||
type: object
|
type: object
|
||||||
description: Information about a specific model endpoint
|
description: Information about a specific model endpoint
|
||||||
|
|||||||
Reference in New Issue
Block a user