Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
___

## [0.6.4] - 2025-04-12
### Fixed
- Fixed bug where `.env` was not loaded early enough in CLI (`rschat`) causing missing environment variable errors
### Changed
- Moved `load_env()` to the top of `cli.py` to ensure environment is loaded before config validation
- Bumped version to 0.6.4
___

## [0.6.3] - 2025-04-08

### Added
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ ___
- Transparent logging — structured logs via `InteractionLogger` (CSV/JSONL)
- Modular architecture — folders like `core/`, `session/`, `logging/`, `model_config/`, etc.

### v0.6.3 - latest
- `core.py` has been refactored and renamed to `core/integration.py` as a dedicated integration layer
- Added isolated unit tests using Python’s built-in `unittest` (no external test dependencies)
- Internal interface `core` is no longer exposed publicly, enforcing architectural boundaries

> Check the full [CHANGELOG](https://github.com/renan-siqueira/rsazure-openai-toolkit/blob/main/CHANGELOG.md) for details.
___

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rsazure-openai-toolkit"
version = "0.6.3"
version = "0.6.4"
description = "A fast, modular, secure, and auditable toolkit to integrate with Azure OpenAI — with a friendly CLI and dev-first architecture."
authors = [{ name = "Renan Siqueira Antonio", email = "[email protected]" }]
readme = { file = "README.md", content-type = "text/markdown" }
Expand Down
2 changes: 1 addition & 1 deletion src/rsazure_openai_toolkit/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import rsazure_openai_toolkit as rschat
from rsazure_openai_toolkit.core import integration as rschat_core

rschat.load_env()

class ChatCLI:
def __init__(self, question: tuple[str]):
Expand All @@ -52,7 +53,6 @@ def run(self):
click.echo("\n⚠️ Please provide a question to ask the model.\n")
sys.exit(1)

rschat.load_env()
self._prepare_context()
self._estimate_tokens()
self._send_request()
Expand Down