Enhance Dev Experience and Code Quality (#41)

* Format codebase to satisfy linters

* fixing pylance and ruff-checked files

* contributing md, and type and formatting fixes

* setup file capitalization

* test fix
This commit is contained in:
Steve Androulakis
2025-06-01 08:54:59 -07:00
committed by GitHub
parent e35181b5ad
commit eb06cf5c8d
52 changed files with 1282 additions and 1105 deletions

View File

@@ -1,5 +1,6 @@
from dataclasses import dataclass
from typing import Optional, Deque, Dict, Any, List, Union, Literal
from typing import Any, Deque, Dict, List, Literal, Optional, Union
from models.tool_definitions import AgentGoal
@@ -43,12 +44,14 @@ class ValidationResult:
if self.validationFailedReason is None:
self.validationFailedReason = {}
@dataclass
class EnvLookupInput:
show_confirm_env_var_name: str
show_confirm_default: bool
@dataclass
class EnvLookupOutput:
show_confirm: bool
multi_goal_mode: bool
multi_goal_mode: bool

View File

@@ -15,6 +15,7 @@ class ToolDefinition:
description: str
arguments: List[ToolArgument]
@dataclass
class AgentGoal:
id: str
@@ -24,6 +25,4 @@ class AgentGoal:
tools: List[ToolDefinition]
description: str = "Description of the tools purpose and overall goal"
starter_prompt: str = "Initial prompt to start the conversation"
example_conversation_history: str = (
"Example conversation history to help the AI agent understand the context of the conversation"
)
example_conversation_history: str = "Example conversation history to help the AI agent understand the context of the conversation"