Created
November 16, 2024 03:27
-
-
Save teocns/517435816becc1581250d145bd9eead9 to your computer and use it in GitHub Desktop.
0001-agent_ops-agentops.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e8f8675c53827ceafacc78fdcfa88290228f8edc Mon Sep 17 00:00:00 2001 | |
From: Teo <[email protected]> | |
Date: Fri, 15 Nov 2024 19:46:43 -0600 | |
Subject: [PATCH] agent_ops -> agentops | |
Signed-off-by: Teo <[email protected]> | |
--- | |
agent.py | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) | |
diff --git a/agent.py b/agent.py | |
index fc43137..255a804 100644 | |
--- a/agent.py | |
+++ b/agent.py | |
@@ -69,8 +69,8 @@ class Agent(BaseAgent): | |
default=None, | |
description="Maximum execution time for an agent to execute a task", | |
) | |
- agent_ops_agent_name: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str") | |
- agent_ops_agent_id: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str") | |
+ agentops_agent_name: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str") | |
+ agentops_agent_id: str = None # type: ignore # Incompatible types in assignment (expression has type "None", variable has type "str") | |
cache_handler: InstanceOf[CacheHandler] = Field( | |
default=None, description="An instance of the CacheHandler class." | |
) | |
@@ -122,7 +122,7 @@ class Agent(BaseAgent): | |
@model_validator(mode="after") | |
def post_init_setup(self): | |
- self.agent_ops_agent_name = self.role | |
+ self.agentops_agent_name = self.role | |
unnacepted_attributes = [ | |
"AWS_ACCESS_KEY_ID", | |
"AWS_SECRET_ACCESS_KEY", | |
-- | |
2.44.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment