MCPcopy Index your code
hub / github.com/microsoft/Webwright / format_message

Method format_message

src/webwright/models/base.py:370–374  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

368 return self.config.error_log_path.parent / "raw_responses.jsonl"
369
370 def format_message(self, **kwargs) -> dict[str, Any]:
371 role = kwargs["role"]
372 content = kwargs.get("content", "")
373 extra = kwargs.get("extra", {})
374 return {"role": role, "content": content, "extra": extra}
375
376 def format_observation_messages(
377 self,

Callers 9

_format_errorMethod · 0.95
_query_asyncMethod · 0.95
_plan_md_messageMethod · 0.45
_compact_historyMethod · 0.45
runMethod · 0.45
queryMethod · 0.45
execute_actionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected