generated from coulomb/repo-seed
Route auto review requests to agentic review
This commit is contained in:
@@ -295,6 +295,7 @@ def create_analysis_run(
|
||||
source_path=payload.source_path,
|
||||
use_cached_checkout=payload.use_cached_checkout,
|
||||
use_llm_assistance=payload.use_llm_assistance,
|
||||
agentic_review=payload.agentic_review,
|
||||
trusted_auto_approve=payload.trusted_auto_approve,
|
||||
access_username=payload.access_username,
|
||||
access_password=payload.access_password,
|
||||
|
||||
@@ -214,7 +214,20 @@ class AnalysisRunCreate(BaseModel):
|
||||
source_path: str | None = None
|
||||
use_cached_checkout: bool = False
|
||||
use_llm_assistance: bool = True
|
||||
trusted_auto_approve: bool = False
|
||||
agentic_review: bool = Field(
|
||||
default=False,
|
||||
description=(
|
||||
"Request configured agentic review after analysis; candidates remain "
|
||||
"pending when no reviewer is configured."
|
||||
),
|
||||
)
|
||||
trusted_auto_approve: bool = Field(
|
||||
default=False,
|
||||
description=(
|
||||
"Deprecated compatibility input. Requests are routed to agentic "
|
||||
"review and do not deterministically approve candidates."
|
||||
),
|
||||
)
|
||||
access_username: str | None = None
|
||||
access_password: str | None = Field(default=None, repr=False)
|
||||
|
||||
@@ -225,7 +238,7 @@ class AnalysisRunCreate(BaseModel):
|
||||
{"source_path": "/path/to/local/repository"},
|
||||
{"use_cached_checkout": True},
|
||||
{"use_llm_assistance": False},
|
||||
{"trusted_auto_approve": True},
|
||||
{"agentic_review": True},
|
||||
{
|
||||
"access_username": "git-user",
|
||||
"access_password": "access-token",
|
||||
|
||||
Reference in New Issue
Block a user