Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions apps/backend/data/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"provider": "openrouter",
"model": "openai/gpt-5.2-pro",
"api_key": "INSERT_OPENROUTER_API",
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: config.json containing API key placeholders is tracked despite .gitignore intending to keep it untracked, so real keys could be accidentally committed once edited.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/backend/data/config.json, line 4:

<comment>`config.json` containing API key placeholders is tracked despite `.gitignore` intending to keep it untracked, so real keys could be accidentally committed once edited.</comment>

<file context>
@@ -0,0 +1,9 @@
+{
+  "provider": "openrouter",
+  "model": "openai/gpt-5.2-pro",
+  "api_key": "INSERT_OPENROUTER_API",
+  "api_base": null,
+  "api_keys": {
</file context>
Fix with Cubic

"api_base": null,
"api_keys": {
"openrouter": "INSERT_OPENROUTER_API"
}
}