File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 77from stagehand .a11y .utils import get_accessibility_tree
88from stagehand .llm .inference import extract as extract_inference
99from stagehand .metrics import StagehandFunctionName # Changed import location
10- from stagehand .schemas import (
11- DEFAULT_EXTRACT_SCHEMA ,
10+ from stagehand .types import (
11+ DefaultExtractSchema ,
1212 ExtractOptions ,
1313 ExtractResult ,
1414)
@@ -97,7 +97,7 @@ async def extract(
9797 # TODO: Remove this once we have a better way to handle URLs
9898 transformed_schema , url_paths = transform_url_strings_to_ids (schema )
9999 else :
100- transformed_schema = DEFAULT_EXTRACT_SCHEMA
100+ transformed_schema = DefaultExtractSchema
101101
102102 # Use inference to call the LLM
103103 extraction_response = extract_inference (
Original file line number Diff line number Diff line change 1515)
1616from .agent import (
1717 AgentConfig ,
18+ AgentExecuteOptions ,
19+ AgentResult ,
1820)
1921from .llm import (
2022 ChatMessage ,
You can’t perform that action at this time.
0 commit comments