MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / __init__

Method __init__

camel/agents/search_agent.py:46–56  ·  view source on GitHub ↗
(
        self,
        model: Optional[BaseModelBackend] = None,
    )

Source from the content-addressed store, hash-verified

44 """
45
46 def __init__(
47 self,
48 model: Optional[BaseModelBackend] = None,
49 ) -> None:
50 system_message = BaseMessage(
51 role_name="Assistant",
52 role_type=RoleType.ASSISTANT,
53 meta_dict=None,
54 content="You are a helpful assistant.",
55 )
56 super().__init__(system_message, model=model)
57
58 def summarize_text(self, text: str, query: str) -> str:
59 r"""Summarize the information from the text, base on the query.

Callers

nothing calls this directly

Calls 1

BaseMessageClass · 0.90

Tested by

no test coverage detected