Skip to content

Commit 30e2178

Browse files
[Docs] Update API domains (#7903)
1 parent 44fdfee commit 30e2178

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

apps/portal/src/app/ai/chat/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can use the API with the HTTP API directly, or with any OpenAI-compatible cl
2222
<TabsTrigger value="openai">OpenAI Client</TabsTrigger>
2323
</TabsList>
2424
<TabsContent value="api">
25-
<OpenApiEndpoint path="/ai/chat" method="POST" specUrl="https://api.thirdweb-dev.com/openapi.json" />
25+
<OpenApiEndpoint path="/ai/chat" method="POST" />
2626
</TabsContent>
2727
<TabsContent value="openai">
2828

@@ -52,4 +52,4 @@ print(chat_completion)
5252
### Going further
5353

5454
- [Handle streaming responses](/ai/chat/streaming)
55-
- [Full API Reference](https://api.thirdweb-dev.com/reference#tag/ai/post/ai/chat)
55+
- [Full API Reference](https://api.thirdweb.com/reference#tag/ai/post/ai/chat)

apps/portal/src/app/ai/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const sidebar: SideBar = {
2323
},
2424
{
2525
name: "API Reference",
26-
href: "https://api.thirdweb-dev.com/reference#tag/ai/post/ai/chat",
26+
href: "https://api.thirdweb.com/reference#tag/ai/post/ai/chat",
2727
},
2828
],
2929
},

packages/api/src/client/types.gen.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3096,8 +3096,5 @@ export type TransferTokenWithUsdResponse =
30963096
TransferTokenWithUsdResponses[keyof TransferTokenWithUsdResponses];
30973097

30983098
export type ClientOptions = {
3099-
baseUrl:
3100-
| "https://api.thirdweb-dev.com"
3101-
| "http://localhost:3030"
3102-
| (string & {});
3099+
baseUrl: "https://api.thirdweb.com" | "http://localhost:3030" | (string & {});
31033100
};

0 commit comments

Comments
 (0)