Skip to content

v0.1.2

Latest
Compare
Choose a tag to compare
@ruslanmv ruslanmv released this 23 Jul 10:12
· 2 commits to master since this release

v0.1.2 — 2025‑07‑23

Highlights

Reliable .env Loading

  • Both the CLI and Pydantic settings now only load the .env file from your current working directory (Path.cwd()/.env).
  • Prevents accidental loading of environment files from install directories.

Dynamic, Plugin‑Friendly Provider Registry

  • Automatically discovers all *_provider.py modules in src/agent_generator/providers/.
  • No need to modify __init__.py when adding a new provider.
  • Merges external packages via the agent_generator.providers entry-point group.
  • Eliminates hard-coded imports and avoids import errors when optional SDKs (e.g. openai) are not installed.

Dry‑Run Mode Shortcut

  • The --dry-run flag now short-circuits before any credential checks or LLM calls.
  • Validates --framework and --provider values first.
  • Generates scaffold code only.
  • Typos in framework or provider names trigger helpful “Options: [...]” messages instead of raw KeyErrors.

Up‑Front Validation

  • --framework and --provider arguments are validated immediately.
  • Provides clear feedback about valid options before any other logic is executed.

Other Changes

  • Bumped version to 0.1.2.
  • Updated documentation to reflect new .env loading and provider plugin patterns.
  • Minor code cleanup and lint fixes.