chore: Added optional 'model' parameter to schema.py in prompt_injection_tester

This commit is contained in:
shiva108 committed 2026-01-27 10:15:51 +01:00
1 parent ba0e3f6ef6
commit 9f73ae23ff
1 file changed
+2
@@ -111,6 +111,7 @@ class Config(BaseModel):
cls,
target_url: str,
token: Optional[str] = None,
model: Optional[str] = None,
api_type: str = "openai",
timeout: int = 30,
categories: Optional[List[str]] = None,
@@ -128,6 +129,7 @@ class Config(BaseModel):
target=TargetConfig(
url=target_url,
token=token,
model=model,
api_type=api_type,
timeout=timeout,
),