AgentOps-AI / tokencost

Easy token price estimates for 400+ LLMs. TokenOps.
https://agentops.ai
MIT License
1.47k stars 60 forks source link

Implement tach to define module boundaries #62

Closed emdoyle closed 4 months ago

emdoyle commented 4 months ago

This PR introduces Tach to maintain clean module boundaries. It is added as an optional dev dependency and as a CI check in GitHub Actions.

If changes are made which introduce new cross-module dependencies, they will cause tach check to fail and point out the offending imports. If they represent an intentional design change, they can be acknowledged with tach sync.

Particularly for new contributors, it is helpful to have an automatic check to validate that new changes do not violate the intended architecture of the project. Tach also serves as documentation of the logical flow of the project through tach.yml and tach show image

Tach docs are here: https://docs.gauge.sh/