gagb 4c87ed71eb Improve file surfer (#204)
* Move file surfer to use baseagent

* Remove unused code

* Fix hatch err

* Intermediate commit to move mdconvert

* Fix linting errors

* Implement file surfer from autogen

* Run hatch check

* Fix more linting errors

* Fix errors in requests_markdown_browser. Ignore errors in mdconvert.

---------

Co-authored-by: Adam Fourney <adamfo@microsoft.com>
2024-07-12 12:48:47 -07:00
..
2024-07-09 16:27:26 -04:00
2024-07-12 12:48:47 -07:00

AGNext

Package layering

  • core are the the foundational generic interfaces upon which all else is built. This module must not depend on any other module.
  • application are implementations of core components that are used to compose an application.
  • components are the building blocks for creating agents.

Development

TL;DR, run all checks with:

hatch run check

Setup

Virtual environment

To get a shell with the package available (virtual environment), in the current directory, run:

hatch shell

Common tasks

  • Format: hatch run check
  • Lint: hatch run lint
  • Test: hatch run pytest -n auto
  • Mypy: hatch run mypy
  • Pyright: hatch run pyright
  • Build docs: hatch run docs:build
  • Auto rebuild+serve docs: hatch run docs:serve

Note

These don't need to be run in a virtual environment, hatch will automatically manage it for you.