Skip to content

Commit 221e5b1

Browse files
kodster28thomasgauvin
authored andcommitted
[Workers AI] Remove completions note from oss (#24209)
* [Workers AI] Remove completions note from oss * unused aside
1 parent 921d850 commit 221e5b1

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/components/models/code/OpenAIResponsesTextGenerationCode.astro

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import { z } from "astro:schema";
3-
import { Aside, Code } from "@astrojs/starlight/components";
3+
import { Code } from "@astrojs/starlight/components";
44
import Details from "~/components/Details.astro";
55
66
type Props = z.infer<typeof props>;
@@ -69,16 +69,3 @@ curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/
6969
<Code code={curl} lang="sh" />
7070
</Details>
7171

72-
<Aside type="note" title="OpenAI compatible endpoints">
73-
Workers AI also supports OpenAI compatible API endpoints for{" "}
74-
<code>/v1/chat/completions</code>, <code>/v1/responses</code>, and <code
75-
>/v1/embeddings</code
76-
>. For more details, refer to{" "}
77-
<a href="/workers-ai/configuration/open-ai-compatibility/">
78-
Configurations
79-
</a>
80-
.
81-
</Aside>
82-
</>
83-
)
84-

0 commit comments

Comments
 (0)