Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

test(system_health): align expected model with gemini-3.8-flash and ignore example token in pipelock

Teju Nareddy22a8cc32f2ce
diff --git a/docs/hosting/ai.md b/docs/hosting/ai.md
index 28592d466d..f769b84834 100644
--- a/docs/hosting/ai.md
+++ b/docs/hosting/ai.md
@@ -162,7 +162,7 @@ You can connect to Google Gemini either directly via Google AI Studio's OpenAI-c
[Google AI Studio](https://aistudio.google.com/) provides direct API access to Gemini models with a free tier and an OpenAI-compatible endpoint:
```bash
-OPENAI_ACCESS_TOKEN=your-google-ai-studio-api-key
+OPENAI_ACCESS_TOKEN=your-google-ai-studio-api-key # pipelock:ignore
OPENAI_URI_BASE=https://generativelanguage.googleapis.com/v1beta/openai
OPENAI_MODEL=gemini-3.8-flash
```
diff --git a/test/controllers/admin/system_health_controller_test.rb b/test/controllers/admin/system_health_controller_test.rb
index cd44e19022..f98cbf1f60 100644
--- a/test/controllers/admin/system_health_controller_test.rb
+++ b/test/controllers/admin/system_health_controller_test.rb
@@ -322,7 +322,7 @@ class Admin::SystemHealthControllerTest < ActionDispatch::IntegrationTest
assert_response :success
assert_match(/The configured AI model is not available/, response.body)
- assert_match(/gemini-2\.5-flash/, response.body)
+ assert_match(/gemini-3\.8-flash/, response.body)
assert_no_match(/gemini-secret/, response.body)
end