mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-16 14:38:08 +01:00
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:
committed by
GitHub
parent
e35181b5ad
commit
eb06cf5c8d
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user