Skip to content

Commit 9224f00

Browse files
tomek-labuklmilan
andauthored
Apply suggestions from code review
Co-authored-by: Lucie Milan <[email protected]>
1 parent 203ff3c commit 9224f00

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name: codex-service
2-
url: localhost
2+
url: http://localhost

app/_how-tos/use-codex-with-ai-gateway.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ entities:
104104
tokens_count_strategy: "total-tokens"
105105
latency_strategy: "tpot"
106106
retries: 3
107-
targets:
108-
- route_type: llm/v1/responses
107+
targets:
108+
- route_type: llm/v1/responses
109109
auth:
110110
header_name: Authorization
111111
header_value: Bearer ${openai_api_key}
@@ -210,7 +210,8 @@ Let's test our Codex CLI set up now:
210210
/model - choose what model and reasoning effort to use
211211
/review - review any changes and find issues
212212
```
213-
213+
{.no-copy-code}
214+
214215
1. Run a simple command to call Codex using the gpt-4o model:
215216

216217
```sh
@@ -230,7 +231,8 @@ Let's test our Codex CLI set up now:
230231
2. Yes, and don't ask again for this command
231232
3. No, and tell Codex what to do differently
232233
```
233-
234+
{.no-copy-code}
235+
234236
Select **Yes, proceed** and press <kbd>Enter</kbd>.
235237

236238
Expected output:
@@ -247,7 +249,8 @@ Let's test our Codex CLI set up now:
247249
248250
• codex exec --model gpt-4o "Hello" returned: “Hi there! How can I assist you today?”
249251
```
250-
252+
{.no-copy-code}
253+
251254
1. Check that LLM traffic went through Kong AI Gateway:
252255

253256
```sh

0 commit comments

Comments
 (0)