Zubeir Mohamed a238a0bbed Add name validation for OAI error prevention (#310)
* Name validation

* Fix build

* Add validation only for oai provider

* Use preexisting

* Fix formatting

---------

Co-authored-by: Zubeir Mohamed <zmohamed@microsoft.com>
2024-08-01 14:04:48 -07:00
..
2024-07-26 18:23:31 -07:00
2024-07-30 00:11:42 -07:00
2024-07-29 23:46:04 -07:00
2024-08-01 16:27:33 +02: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.