Skip to content

Commit bac61b3

Browse files
authored
Pre-1.2.0 (#268)
* Added Unit Tests * Updated Documents * Updated Images
1 parent 74960c0 commit bac61b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2678
-288
lines changed

.gitignore

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ sbin/**
1414
**/chatbot_graph.png
1515
**/*.sh
1616
**/etc/*.json
17+
**/optimizer_settings.json
1718
!opentofu/**/cloudinit-oke.sh
1819
!src/entrypoint.sh
1920
!src/client/spring_ai/templates/env.sh
@@ -22,7 +23,7 @@ tests/db_startup_temp/**
2223
##############################################################################
2324
# Environment (PyVen, IDE, etc.)
2425
##############################################################################
25-
**/.venv
26+
**/.*env*
2627
**/.vscode
2728
**/.DS_Store
2829
**/*.swp
@@ -51,6 +52,11 @@ __pycache__/
5152
opentofu/**/stage/*.*
5253
opentofu/**/stage/kubeconfig
5354

55+
##############################################################################
56+
# AI Code Assists
57+
##############################################################################
58+
**/*[Cc][Ll][Aa][Uu][Dd][Ee]*
59+
5460
##############################################################################
5561
# Helm
5662
##############################################################################
@@ -61,12 +67,8 @@ helm/values*.yaml
6167
##############################################################################
6268
# Random
6369
##############################################################################
64-
spring_ai/src/main/resources/data/optimizer_settings.json
6570
spring_ai/target/**
6671
spring_ai/create_user.sql
6772
spring_ai/drop.sql
6873
src/client/spring_ai/target/classes/*
6974
api_server_key
70-
.env
71-
72-
optimizer_settings.json

docs/content/client/api_server/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ The {{< full_app_ref >}} is powered by an API Server to allow for any client to
1111

1212
Each client connected to the API Server, including those from the {{< short_app_ref >}} GUI client, share the same configuration but maintain their own settings. Database, Model, OCI, and Prompt configurations are used across all clients; but which database, models, OCI profile, and prompts set are specific to each client.
1313

14-
When started as part of the {{< short_app_ref >}} "All-in-One" deployment, you can change the Port it listens on and the API Server Key. A restart is required for the changes to take effect.
14+
When started as part of the {{< short_app_ref >}} "All-in-One" deployment, by setting `API_SERVER_CONTROL=TRUE` before startup, you can change the Port it listens on and the API Server Key.
1515

1616
![Server Configuration](images/api_server_config.png)
1717

1818
If the API Server is started independently of the {{< short_app_ref >}} client, the configuration is shown, but cannot be modified from the client.
1919

2020
## Server Configuration
2121

22-
During the startup of the API Server, a `server` client is created and populated with minimal settings. The `server` client is the default when calling the API Server outside of the {{< short_app_ref >}} GUI client. To copy your {{< short_app_ref >}} GUI client settings to the `server` client for use with external application clients, click the "Copy AI Optimizer Settings".
22+
During the startup of the API Server, a `server` client is created and populated with minimal settings. The `server` client is the default when calling the API Server outside of the {{< short_app_ref >}} GUI client. To copy your {{< short_app_ref >}} GUI client settings to the `server` client for use with external application clients, click the "Copy Client Settings".
2323

2424
![Server Settings](images/api_server_settings.png)
2525

-19.7 KB
Loading
-12.5 KB
Loading
-22.2 KB
Loading
13.7 KB
Loading
-7.1 KB
Loading
18.2 KB
Loading
-1.42 KB
Loading
-15.6 KB
Loading

0 commit comments

Comments
 (0)