Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /SHAdd0WTAka_Zen-Ai-Pentest /agents /hermes_agent.py
| """Stub for Hermes Agent - original file was corrupted during cleanup.""" | |
| from dataclasses import dataclass, field | |
| from typing import List | |
| class HermesConfig: | |
| """Configuration for the Hermes Agent.""" | |
| model: str = "nousresearch/hermes-3-llama-3.1-70b" | |
| fallback_models: List[str] = field( | |
| default_factory=lambda: [ | |
| "nousresearch/hermes-3-llama-3.1-70b", | |
| "nousresearch/hermes-3-llama-3.1-405b", | |
| "meta-llama/llama-3.3-70b-instruct", | |
| ] | |
| ) | |
| kimi_model: str = "kimi-k2.6" | |
| kimi_api_base: str = "https://api.kimi.com/coding/v1" | |
| auth_method: str = "api_key" | |
| browser_provider: str = "openrouter" | |
| system_prompt: str = ( | |
| "You are Hermes, an advanced AI assistant specialized in cybersecurity, " | |
| "penetration testing, and technical analysis. You provide detailed, " | |
| "accurate, and actionable information. Always think step-by-step." | |
| ) | |
| openrouter_base_url: str = "https://openrouter.ai/api/v1" | |
| openrouter_referer: str = "https://localhost" | |
| openrouter_title: str = "HermesAgent-ZenAI" | |
| class HermesAgent: | |
| """Stub for Hermes Agent.""" | |
| def __init__(self, config: HermesConfig = None): | |
| self.config = config or HermesConfig() | |
| async def authenticate(self) -> bool: | |
| return False | |
| async def chat(self, message: str) -> str: | |
| return "Hermes Agent is not fully configured." | |
Xet Storage Details
- Size:
- 1.43 kB
- Xet hash:
- a912dbcf9b9e48d58a839e7069ee293e61fdb2c8dba4141e268f98c58cdc4238
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.