Skip to content

Commit 0599223

Browse files
committed
Remove Dockerfile
1 parent aca18d7 commit 0599223

File tree

2 files changed

+3
-52
lines changed

2 files changed

+3
-52
lines changed

Dockerfile

Lines changed: 0 additions & 49 deletions
This file was deleted.

webEvalAgent/mcp_server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ class BrowserTools(str, Enum):
4949
if api_key:
5050
is_valid = asyncio.run(validate_api_key(api_key))
5151
if not is_valid:
52-
send_log("Error: Invalid API key. Please provide a valid OperativeAI API key in the OPERATIVE_API_KEY environment variable.", "❌")
52+
print("Error: Invalid API key. Please provide a valid OperativeAI API key in the OPERATIVE_API_KEY environment variable.")
5353
else:
54-
send_log("Error: No API key provided. Please set the OPERATIVE_API_KEY environment variable.", "❌")
54+
print("Error: No API key provided. Please set the OPERATIVE_API_KEY environment variable.")
5555

5656
@mcp.tool(name=BrowserTools.WEB_EVAL_AGENT)
5757
async def web_eval_agent(url: str, task: str, ctx: Context, headless_browser: bool = False) -> list[TextContent]:
@@ -127,7 +127,7 @@ async def setup_browser_state(url: str = None, ctx: Context = None) -> list[Text
127127
try:
128128
# Generate a new tool_call_id for this specific tool call
129129
tool_call_id = str(uuid.uuid4())
130-
send_log(f"Generated new tool_call_id for setup_browser_state: {tool_call_id}", "🆔")
130+
send_log(f"Generated new tool_call_id for setup_browser_state: {tool_call_id}")
131131
return await handle_setup_browser_state(
132132
{"url": url, "tool_call_id": tool_call_id},
133133
ctx,

0 commit comments

Comments
 (0)