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 7
7
from stagehand .a11y .utils import get_accessibility_tree
8
8
from stagehand .llm .inference import extract as extract_inference
9
9
from stagehand .metrics import StagehandFunctionName # Changed import location
10
- from stagehand .schemas import (
11
- DEFAULT_EXTRACT_SCHEMA ,
10
+ from stagehand .types import (
11
+ DefaultExtractSchema ,
12
12
ExtractOptions ,
13
13
ExtractResult ,
14
14
)
@@ -97,7 +97,7 @@ async def extract(
97
97
# TODO: Remove this once we have a better way to handle URLs
98
98
transformed_schema , url_paths = transform_url_strings_to_ids (schema )
99
99
else :
100
- transformed_schema = DEFAULT_EXTRACT_SCHEMA
100
+ transformed_schema = DefaultExtractSchema
101
101
102
102
# Use inference to call the LLM
103
103
extraction_response = extract_inference (
Original file line number Diff line number Diff line change 15
15
)
16
16
from .agent import (
17
17
AgentConfig ,
18
+ AgentExecuteOptions ,
19
+ AgentResult ,
18
20
)
19
21
from .llm import (
20
22
ChatMessage ,
You can’t perform that action at this time.
0 commit comments