peterychang cf2bcd31ea Web surfer test (#248)
* Add web surfer test

* delete temp files

* formatting

* fix send_message calls

* fix mypy errors

* Add web surfer test

* delete temp files

* formatting

* fix send_message calls

* fix mypy errors

* fix CI checks

* CI code formatting

* Update hatch commands, add tests to CI

* add playwright to test env

* try fixing toml

* Update .github/workflows/checks.yml

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* try fixing toml

* try fixing toml

* Update python/pyproject.toml

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* try fixing toml

* try fixing toml

* modify correct pyproject.toml file

* add missing dependency

* Add browser_utils tests

* fix check errors

* run normalize code for test

* add missing dependency

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-07-26 12:34:47 -07:00
..
2024-07-26 09:51:25 -04:00
2024-07-26 12:34:47 -07:00
2024-07-22 11:06:30 -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.