Let superadmins assign one OpenRouter model per task group.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Successful in 50s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 17s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m40s
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Successful in 50s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 17s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m40s
Reasoning, drafting, and matching prompts inherit that model, so each prompt does not need its own setting. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
0431c9e160
commit
b537750671
14 files changed
+720
-65
No files matched your search
@@ -57,7 +57,7 @@ def load_ai_prompt_row(cur, slug: str, *, active_only: bool = True) -> Optional[
|
||||
if active_only:
|
||||
cur.execute(
|
||||
"""
|
||||
SELECT slug, display_name, template, output_format, active, openrouter_model
|
||||
SELECT slug, display_name, template, output_format, active, openrouter_model, model_role
|
||||
FROM ai_prompts
|
||||
WHERE slug = %s AND active = true
|
||||
""",
|
||||
@@ -66,7 +66,7 @@ def load_ai_prompt_row(cur, slug: str, *, active_only: bool = True) -> Optional[
|
||||
else:
|
||||
cur.execute(
|
||||
"""
|
||||
SELECT slug, display_name, template, output_format, active, openrouter_model
|
||||
SELECT slug, display_name, template, output_format, active, openrouter_model, model_role
|
||||
FROM ai_prompts
|
||||
WHERE slug = %s
|
||||
""",
|
||||
|
||||
Reference in new issue
Block a user