forked from anomalyco/opencode-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel.py
More file actions
45 lines (23 loc) · 627 Bytes
/
Copy pathmodel.py
File metadata and controls
45 lines (23 loc) · 627 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Dict, Optional
from .._models import BaseModel
__all__ = ["Model", "Cost", "Limit"]
class Cost(BaseModel):
input: float
output: float
cache_read: Optional[float] = None
cache_write: Optional[float] = None
class Limit(BaseModel):
context: float
output: float
class Model(BaseModel):
id: str
attachment: bool
cost: Cost
limit: Limit
name: str
options: Dict[str, object]
reasoning: bool
release_date: str
temperature: bool
tool_call: bool