Commit d281da4
docs: Remove redundant /v1 suffix from OpenAI base-url examples
Removed the '/v1' suffix from the `spring.ai.openai.base-url` examples in the OpenAI Chat documentation.
The `OpenAiApi` already includes `/v1` in the default `completionsPath` (`/v1/chat/completions`). Including it in the base-url causes a double `/v1/v1` path in the final request URL. This change aligns the documentation with the actual client behavior.
Signed-off-by: Harrison <[email protected]>1 parent 5ad8485 commit d281da4
File tree
1 file changed
+3
-3
lines changed- spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
| 787 | + | |
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
| 834 | + | |
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| |||
998 | 998 | | |
999 | 999 | | |
1000 | 1000 | | |
1001 | | - | |
| 1001 | + | |
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
| |||
0 commit comments