Fix: AP2.0 pytest — Snapshot statt nicht vorhandenem GET context.
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 2m2s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 17s

Steering PATCH akzeptiert alle registrierten method_keys (nicht nur Legacy-Literal).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-07-10 10:56:26 +02:00
1 parent 3bd983297b
commit 95b743d6fd
2 files changed
+6 -8

No files matched your search

+2 -4
View File
@@ -2,7 +2,7 @@
from __future__ import annotations
from typing import Literal, Optional
from typing import Optional
from capabilities import require_capability
from fastapi import APIRouter, Depends, HTTPException
@@ -17,9 +17,7 @@ router = APIRouter(prefix="/api/steering", tags=["steering"])
class SteeringContextUpdateRequest(BaseModel):
method_key: Optional[
Literal["generic_operating", "product_milestone_driven"]
] = None
method_key: str = Field(..., min_length=1)
@router.get("/methods")