mirror of https://github.com/microsoft/autogen.git
11a43421e3
* Add minimum token threshold in MessageHistoryLimiter * Update transforms tests for the threshold * Move min_threshold_tokens from Message to Token Limiter * Optimize _check_tokens_threshold Co-authored-by: Wael Karkoub <wael.karkoub96@gmail.com> * Apply requested changes (renaming, phrasing, validations) * Fix format * Fix _check_tokens_threshold logic * Update docs and notebook * Improve phrasing * Add min_tokens example in notebook * Add min_tokens example in website docs * Add min_tokens example in notebook * Update website docs to be in sync with get_logs change --------- Co-authored-by: Wael Karkoub <wael.karkoub96@gmail.com> Co-authored-by: Chi Wang <wang.chi@microsoft.com> |
||
---|---|---|
.. | ||
blog | ||
docs | ||
src | ||
static | ||
.gitignore | ||
README.md | ||
babel.config.js | ||
build_website.sh | ||
docusaurus.config.js | ||
package.json | ||
process_notebooks.py | ||
pydoc-markdown.yml | ||
sidebars.js | ||
yarn.lock |
README.md
Website
This website is built using Docusaurus 3, a modern static website generator.
Prerequisites
To build and test documentation locally, begin by downloading and installing Node.js, and then installing Yarn. On Windows, you can install via the npm package manager (npm) which comes bundled with Node.js:
npm install --global yarn
Installation
pip install pydoc-markdown pyyaml colored
cd website
yarn install
Install Quarto
quarto
is used to render notebooks.
Install it here.
Note: Ensure that your
quarto
version is1.5.23
or higher.
Local Development
Navigate to the website
folder and run:
pydoc-markdown
python ./process_notebooks.py render
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.