MCPcopy Create free account
hub / github.com/microsoft/Webwright / Model

Class Model

src/webwright/__init__.py:32–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32class Model(Protocol):
33 config: Any
34
35 def __call__(self, messages: list[dict[str, Any]], **kwargs) -> str: ...
36
37 def query(self, messages: list[dict[str, Any]], **kwargs) -> dict[str, Any]: ...
38
39 def format_message(self, **kwargs) -> dict[str, Any]: ...
40
41 def format_observation_messages(
42 self,
43 message: dict[str, Any],
44 outputs: list[dict[str, Any]],
45 template_vars: dict[str, Any] | None = None,
46 ) -> list[dict[str, Any]]: ...
47
48 def get_template_vars(self, **kwargs) -> dict[str, Any]: ...
49
50 def serialize(self) -> dict[str, Any]: ...
51
52
53class Environment(Protocol):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected