Skip to content

Commit b8d406c

Browse files
chore(internal): codegen related update (#46)
1 parent e7e29b2 commit b8d406c

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 10
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-565b102f6c66ecdf91d8b2503e5c14792d0ea0fe7a939f27dd95a7d732f048a3.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-6a0c3345e703b1d836dcd18bae50be02700434c062d5b58a882f002e0ccad708.yml

src/arcadepy/resources/chat/completions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ def with_streaming_response(self) -> CompletionsResourceWithStreamingResponse:
5151
def create(
5252
self,
5353
*,
54-
frequency_penalty: int | NotGiven = NOT_GIVEN,
54+
frequency_penalty: float | NotGiven = NOT_GIVEN,
5555
logit_bias: Dict[str, int] | NotGiven = NOT_GIVEN,
5656
logprobs: bool | NotGiven = NOT_GIVEN,
5757
max_tokens: int | NotGiven = NOT_GIVEN,
5858
messages: Iterable[ChatMessageParam] | NotGiven = NOT_GIVEN,
5959
model: str | NotGiven = NOT_GIVEN,
6060
n: int | NotGiven = NOT_GIVEN,
6161
parallel_tool_calls: bool | NotGiven = NOT_GIVEN,
62-
presence_penalty: int | NotGiven = NOT_GIVEN,
62+
presence_penalty: float | NotGiven = NOT_GIVEN,
6363
response_format: Literal["json_object", "text"] | NotGiven = NOT_GIVEN,
6464
seed: int | NotGiven = NOT_GIVEN,
6565
stop: List[str] | NotGiven = NOT_GIVEN,
@@ -174,15 +174,15 @@ def with_streaming_response(self) -> AsyncCompletionsResourceWithStreamingRespon
174174
async def create(
175175
self,
176176
*,
177-
frequency_penalty: int | NotGiven = NOT_GIVEN,
177+
frequency_penalty: float | NotGiven = NOT_GIVEN,
178178
logit_bias: Dict[str, int] | NotGiven = NOT_GIVEN,
179179
logprobs: bool | NotGiven = NOT_GIVEN,
180180
max_tokens: int | NotGiven = NOT_GIVEN,
181181
messages: Iterable[ChatMessageParam] | NotGiven = NOT_GIVEN,
182182
model: str | NotGiven = NOT_GIVEN,
183183
n: int | NotGiven = NOT_GIVEN,
184184
parallel_tool_calls: bool | NotGiven = NOT_GIVEN,
185-
presence_penalty: int | NotGiven = NOT_GIVEN,
185+
presence_penalty: float | NotGiven = NOT_GIVEN,
186186
response_format: Literal["json_object", "text"] | NotGiven = NOT_GIVEN,
187187
seed: int | NotGiven = NOT_GIVEN,
188188
stop: List[str] | NotGiven = NOT_GIVEN,

src/arcadepy/types/chat/completion_create_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class CompletionCreateParams(TypedDict, total=False):
14-
frequency_penalty: int
14+
frequency_penalty: float
1515

1616
logit_bias: Dict[str, int]
1717
"""
@@ -40,7 +40,7 @@ class CompletionCreateParams(TypedDict, total=False):
4040
parallel_tool_calls: bool
4141
"""Disable the default behavior of parallel tool calls by setting it: false."""
4242

43-
presence_penalty: int
43+
presence_penalty: float
4444

4545
response_format: Literal["json_object", "text"]
4646

src/arcadepy/types/shared/authorization_response.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class AuthorizationResponse(BaseModel):
2121

2222
context: Optional[Context] = None
2323

24+
provider_id: Optional[str] = None
25+
2426
scopes: Optional[List[str]] = None
2527

2628
status: Optional[Literal["pending", "completed", "failed"]] = None
29+
30+
user_id: Optional[str] = None

0 commit comments

Comments
 (0)