Skip to content

Commit 96ff016

Browse files
committed
Bump version to 1.4.0
1 parent d95fd4a commit 96ff016

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.4.0] - 2024-12-24
11+
12+
### Added
13+
- **Verbose Payload Logging** - Comprehensive logging of request/response data at INFO level
14+
- Added `_serialize_for_logging()` helper to serialize objects to JSON with repr() fallback
15+
- Logs request query before sending to agent
16+
- Logs each streaming event received from agent during streaming responses
17+
- Logs final response object after streaming completes
18+
- Logs complete response for non-streaming agents
19+
- All logs include clear separators for easy parsing in agent log files
20+
- Enables detailed debugging and monitoring of agent communication
21+
22+
### Technical Details
23+
This feature adds comprehensive visibility into the data exchanged between the chat loop and agent. All request/response payloads are logged at INFO level in the agent log files (~/.chat_loop_logs/*_chat.log). The serialization helper attempts JSON formatting first (with pretty printing and default=str for common types), falling back to repr() for non-serializable objects. This makes it easy to debug agent behavior, track API changes, and monitor system health.
24+
1025
## [1.3.9] - 2024-12-24
1126

1227
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "basic-agent-chat-loop"
7-
version = "1.3.9"
7+
version = "1.4.0"
88
description = "Feature-rich interactive CLI for AI agents with token tracking, prompt templates, aliases, and configuration"
99
readme = "README.md"
1010
requires-python = ">=3.9"

src/basic_agent_chat_loop/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
agent aliases, and extensive configuration options.
55
"""
66

7-
__version__ = "1.3.9"
7+
__version__ = "1.4.0"
88

99
from .chat_config import ChatConfig
1010
from .chat_loop import ChatLoop

0 commit comments

Comments
 (0)