Skip to content

Commit 1357efa

Browse files
committed
update llama-server imgs
1 parent 1c73852 commit 1357efa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

MyApp/_pages/ai-server/llama-server.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ dotnet add package ServiceStack.Client
221221
3. Download AI Server's Typed C# DTOs:
222222

223223
:::sh
224-
npx get-dtos csharp https://openai.servicestack.net
224+
`npx get-dtos csharp https://openai.servicestack.net`
225225
:::
226226

227227
4. Call llama-server's OpenAI Chat API from C#:
@@ -261,7 +261,7 @@ npm install @servicestack/client
261261
2. Download AI Server's TypeScript DTOs:
262262

263263
:::sh
264-
npx get-dtos typescript https://openai.servicestack.net
264+
`npx get-dtos typescript https://openai.servicestack.net`
265265
:::
266266

267267
Call llama-server with TypeScript DTOs and the generic `JsonServiceClient`
@@ -342,24 +342,24 @@ This will launch a self-hosted instance of AI Server at: `https://localhost:5006
342342
</h3>
343343
</div>
344344

345-
![](/img/posts/hosting-llama-server/admin-dashboard.webp)
345+
![](/img/pages/ai-server/admin-dashboard.webp)
346346

347347
## Registering llama-server endpoints
348348

349349
To let AI Server know about your new llama-server instances create a new **AI Provider** with the **Custom** AI Provider type to register an OpenAI Chat compatible endpoint, e.g:
350350

351-
[![](/img/posts/ai-server-2025-04/custom-openai-provider.webp)](/ai-server/)
351+
[![](/img/pages/ai-server/custom-openai-provider.webp)](/ai-server/)
352352

353353
As llama-server is only configured to serve a single model it can configured with any model name as it's ignored by llama-server but used by AI Server to route AI requests for that model to the custom AI Provider instance which you can try in the [Chat UI](/ai-server/chat):
354354

355-
[![](/img/posts/ai-server-2025-04/custom-openai-provider-chat.webp)](/ai-server/chat)
355+
[![](/img/pages/ai-server/custom-openai-provider-chat.webp)](/ai-server/chat)
356356

357357
## Create API Keys for your Apps
358358

359359
After testing the llama-server instance is working with the Chat UI it's time to create API Keys
360360
for all your Apps so they can access AI Servers APIs with the [API Keys UI](/auth/admin-apikeys#api-keys-admin-ui):
361361

362-
![](/img/posts/hosting-llama-server/admin-apikeys.webp)
362+
![](/img/pages/ai-server/admin-apikeys.webp)
363363

364364
It's recommended to use a different API Key per App so they can be monitored and analyzed separately.
365365

0 commit comments

Comments
 (0)