Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brandomr committed Jul 2, 2024
1 parent 3ab6717 commit 18b3199
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions src/askem_beaker/contexts/model_configuration/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,6 @@ class ConfigEditAgent(BaseAgent):
def __init__(self, context: BaseContext = None, tools: list = None, **kwargs):
super().__init__(context, tools, **kwargs)

# @tool()
# async def describe_configuration(
# self, query: str, agent: AgentRef, loop: LoopControllerRef
# ) -> None:
# """
# This tool is used to answer questions about the model configuration. It fetches the model configuration for analysis.

# Input is a full grammatically correct question about or request for an action to be performed on the loaded model configuration.

# Args:
# query (str): A fully grammatically correct question about the current model configuration.

# """
# # prompt = f"""
# # You are a scientific assistant helping answer questions about a model configuration.

# # Model configurations are defined by a specific model configuration JSON schema and are JSON objects themselves.

# # The current configuration is:
# # {agent.context.model_config}

# # Please analyze the configuration and answer the user's question.
# # """
# code = agent.context.get_code("load_config")
# model_config = await agent.context.evaluate(code)
# return model_config

@tool()
async def generate_code(
self, query: str, agent: AgentRef, loop: LoopControllerRef
Expand Down

0 comments on commit 18b3199

Please sign in to comment.