Skip to content

Commit 1966954

Browse files
chore(api): remove unsupported property
1 parent d55bb64 commit 1966954

File tree

2 files changed

+54
-2
lines changed

2 files changed

+54
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-cca460eaf5cc13e9d6e5293eb97aac53d66dc1385c691f74b768c97d165b6e8b.yml
3-
openapi_spec_hash: 9ec43d443b3dd58ca5aa87eb0a7eb49f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-a473967d1766dc155994d932fbc4a5bcbd1c140a37c20d0a4065e1bf0640536d.yml
3+
openapi_spec_hash: 67cdc62b0d6c8b1de29b7dc54b265749
44
config_hash: e74d6791681e3af1b548748ff47a22c2

src/resources/responses/responses.ts

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,58 @@ export interface ResponseFunctionWebSearch {
17391739
type: 'web_search_call';
17401740
}
17411741

1742+
export namespace ResponseFunctionWebSearch {
1743+
/**
1744+
* Action type "search" - Performs a web search query.
1745+
*/
1746+
export interface Search {
1747+
/**
1748+
* The search query.
1749+
*/
1750+
query: string;
1751+
1752+
/**
1753+
* The action type.
1754+
*/
1755+
type: 'search';
1756+
}
1757+
1758+
/**
1759+
* Action type "open_page" - Opens a specific URL from search results.
1760+
*/
1761+
export interface OpenPage {
1762+
/**
1763+
* The action type.
1764+
*/
1765+
type: 'open_page';
1766+
1767+
/**
1768+
* The URL opened by the model.
1769+
*/
1770+
url: string;
1771+
}
1772+
1773+
/**
1774+
* Action type "find": Searches for a pattern within a loaded page.
1775+
*/
1776+
export interface Find {
1777+
/**
1778+
* The pattern or text to search for within the page.
1779+
*/
1780+
pattern: string;
1781+
1782+
/**
1783+
* The action type.
1784+
*/
1785+
type: 'find';
1786+
1787+
/**
1788+
* The URL of the page searched for the pattern.
1789+
*/
1790+
url: string;
1791+
}
1792+
}
1793+
17421794
/**
17431795
* Emitted when an image generation tool call has completed and the final image is
17441796
* available.

0 commit comments

Comments
 (0)