mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-28 14:47:22 -07:00
style(llm): drop noise Any annotation on agent result
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
a57a4165f1
commit
9dd6ad746f
+1
-3
@@ -4,8 +4,6 @@ Isolates the atomic-agents / instructor dependency. The rest of hate_crack talks
|
||||
to this module only through ``generate_candidates``.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
|
||||
import instructor
|
||||
from openai import OpenAI
|
||||
from pydantic import Field
|
||||
@@ -119,7 +117,7 @@ def generate_candidates(
|
||||
)
|
||||
)
|
||||
|
||||
result: Any = agent.run(GenerationInput(request=request))
|
||||
result = agent.run(GenerationInput(request=request))
|
||||
|
||||
seen: set[str] = set()
|
||||
candidates: list[str] = []
|
||||
|
||||
Reference in New Issue
Block a user