WebSurferAgent
fastagency.runtimes.autogen.agents.websurfer.WebSurferAgent #
WebSurferAgent(
*args: Any,
name: str,
llm_config: dict[str, Any],
summarizer_llm_config: dict[str, Any],
executor: Union[
ConversableAgent, list[ConversableAgent]
],
system_message: str = "You are a web surfer",
bing_api_key: Optional[str] = None,
**kwargs: Any
)
Bases: AssistantAgent
Initialize the WebSurferAgent.
PARAMETER | DESCRIPTION |
---|---|
*args | The positional arguments. TYPE: |
name | The name of the agent. TYPE: |
llm_config | The LLM configuration. |
summarizer_llm_config | The summarizer LLM configuration. |
executor | The executor agent(s). |
system_message | The system message. TYPE: |
bing_api_key | The Bing API key |
**kwargs | The keyword arguments. TYPE: |
Source code in fastagency/runtimes/autogen/agents/websurfer.py
web_surfer_tool instance-attribute
#
web_surfer_tool = WebSurferTool(
name_prefix="Web_Surfer",
llm_config=llm_config,
summarizer_llm_config=summarizer_llm_config,
bing_api_key=bing_api_key,
)