mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-06-24 06:09:55 +02:00
fixed spacing issues-4
This commit is contained in:
@@ -44,7 +44,6 @@ class LLMSpec(BaseModel):
|
||||
has_audio: bool = False
|
||||
|
||||
@classmethod
|
||||
|
||||
def from_string(cls, http_spec: str):
|
||||
try:
|
||||
return parse_http_spec(http_spec)
|
||||
@@ -147,6 +146,7 @@ def parse_http_spec(http_spec: str) -> LLMSpec:
|
||||
|
||||
Args:
|
||||
http_spec (str): A string representing an HTTP specification.
|
||||
|
||||
Returns:
|
||||
LLMSpec: An object representing the parsed HTTP specification, with attributes for the method, URL, headers, and body.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user