mirror of
https://github.com/Shiva108/ai-llm-red-team-handbook.git
synced 2026-02-12 14:42:46 +00:00
feat: Add optional model configuration to TargetConfig.
This commit is contained in:
@@ -53,6 +53,12 @@ class AttackConfig(BaseModel):
|
||||
le=10.0,
|
||||
description="Requests per second",
|
||||
)
|
||||
timeout_per_test: int = Field(
|
||||
default=30,
|
||||
ge=1,
|
||||
le=300,
|
||||
description="Timeout per individual test in seconds",
|
||||
)
|
||||
|
||||
|
||||
class ReportingConfig(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user