This commit is contained in:
Chi Wang 2023-09-16 21:06:05 +00:00
parent 78b79aa036
commit 836a771ee7
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ class UserProxyAgent(ConversableAgent):
UserProxyAgent is a subclass of ConversableAgent configured with `human_input_mode` to ALWAYS
and `llm_config` to False. By default, the agent will prompt for human input every time a message is received.
Code execution is enabled by default. LLM-based auto reply is disabled by default.
To modify auto reply, register a method with (`register_reply`)[conversable_agent#register_reply].
To modify auto reply, register a method with [`register_reply`](conversable_agent#register_reply).
To modify the way to get human input, override `get_human_input` method.
To modify the way to execute code blocks, single code block, or function call, override `execute_code_blocks`,
`run_code`, and `execute_function` methods respectively.

View File

@ -29,7 +29,7 @@ def remove_boxed(string: str) -> Optional[str]:
Extract the text within a \\boxed{...} environment.
Example:
>> remove_boxed("\\boxed{\\frac{2}{3}}")
> remove_boxed("\\boxed{\\frac{2}{3}}")
\\frac{2}{3}
"""

View File

@ -5,8 +5,8 @@ const katex = require('rehype-katex');
module.exports = {
title: 'AutoGen',
tagline: 'Enable Next-Gen Large Language Model Applications',
url: 'https://microsoft.github.io/',
baseUrl: '/autogen/',
url: 'https://microsoft.github.io/autogen',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/flaml_logo.ico',