Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent 82a0638 commit 803eafe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1267
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c009571890021a3ddaeb9603ffbfa1f8f23f2ec22c247cd9a1c3bda38e37cac6.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5c41a7aa9877639ecb82e8e278d9d8d77a58f9d308ed8e8f570cd3243f130e05.yml
3 changes: 2 additions & 1 deletion src/resources/workers/ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class AI extends APIResource {
export type AIRunResponse =
| Array<AIRunResponse.TextClassification>
| Uploadable
| Uploadable
| Array<number>
| AIRunResponse.TextEmbeddings
| AIRunResponse.SpeechRecognition
Expand Down Expand Up @@ -339,7 +340,7 @@ export namespace AIRunParams {
/**
* Body param:
*/
image: Array<number>;
image: Array<number> | string;

/**
* Body param:
Expand Down

0 comments on commit 803eafe

Please sign in to comment.