Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/Webwright
/ text_part
Function
text_part
src/webwright/models/base.py:139–140 ·
view source on GitHub ↗
(text: str)
Source
from the content-addressed store, hash-verified
137
138
139
def
text_part(text: str) -> dict[str, Any]:
140
return
{
"type"
:
"input_text"
,
"text"
: text}
141
142
143
def
image_part_from_path(path: Path) -> dict[str, Any]:
Callers
5
_judge_one_image
Function · 0.90
run_self_reflection_async
Function · 0.90
run_image_qa
Function · 0.90
_serialize_response_input
Function · 0.90
format_observation_messages
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected