Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions astabench/tools/s2_api_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import anyio
import httpx
from inspect_ai.tool import ContentText, Tool, ToolDef, ToolError, ToolSource
from inspect_ai.tool._mcp._mcp import MCPServerImpl
from inspect_ai.tool._mcp._local import MCPServerLocal
from mcp.client.streamable_http import streamablehttp_client

from .search import (
Expand Down Expand Up @@ -46,7 +46,7 @@ def create_server_streamable_http(
timeout: float = 5,
sse_read_timeout: float = 60 * 5,
) -> ToolSource:
return MCPServerImpl(
return MCPServerLocal(
lambda: fixed_streamablehttp_client(url, headers, timeout, sse_read_timeout),
name=url,
events=True,
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ version = "0.1.7"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"inspect_ai==0.3.114",
"inspect_ai==0.3.123",
"agent-eval==0.1.43",
"openai>=1.78.0", # required by inspect
"openai>=1.99.7", # required by inspect
"pydantic>=2.11.4", # required by inspect
"litellm",
"datasets~=3.2.0",
Expand Down Expand Up @@ -65,7 +65,7 @@ conflicts = [
]
override-dependencies = [
# sqa pins openai to a lower version than inspect requires
"openai==1.78.0",
"openai==1.99.7",

# STORM pretends to require a lower version, but doesn't actually need it:
# https://github.com/allenai/asta-bench/issues/31#issuecomment-3045978008
Expand Down