Skip to content

Commit 563e458

Browse files
committed
sonnet for playground compatibility
1 parent f69cbcd commit 563e458

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

samples/managed-llm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For this sample, you will need to provide the following [configuration](https://
3939
> Note that if you are using the 1-click deploy option, you can set these values as secrets in your GitHub repository and the action will automatically deploy them for you.
4040
4141
### `MODEL`
42-
The Model ID of the LLM you are using for your application. For example, `anthropic.claude-3-haiku-20240307-v1:0`.
42+
The Model ID of the LLM you are using for your application. For example, `anthropic.claude-3-5-sonnet-20241022-v2:0`.
4343
```bash
4444
defang config set MODEL
4545
```

samples/managed-llm/compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
restart: always
99
environment:
1010
- ENDPOINT_URL=http://llm/api/v1/chat/completions # endpoint to the gateway service
11-
- MODEL=anthropic.claude-3-haiku-20240307-v1:0 # LLM model ID used for the gateway
11+
- MODEL=anthropic.claude-3-5-sonnet-20241022-v2:0 # LLM model ID used for the gateway
1212
- OPENAI_API_KEY=FAKE_TOKEN # the actual value will be ignored when using the gateway, but it should match the one in the llm service
1313
healthcheck:
1414
test: ["CMD", "python3", "-c", "import sys, urllib.request; urllib.request.urlopen(sys.argv[1]).read()", "http://localhost:8000/"]
@@ -20,7 +20,7 @@ services:
2020
# # Defang OpenAI Access Gateway
2121
# # This service is used to route requests to the LLM API
2222
llm:
23-
x-defang-llm: true # this must be set to true in BYOC for the gateway to work
23+
# x-defang-llm: true # this must be set to true in BYOC for the gateway to work
2424
image: docker.io/defangio/openai-access-gateway:latest
2525
ports:
2626
- target: 80

0 commit comments

Comments
 (0)