Releases: raceychan/aceai
Releases · raceychan/aceai
Release v0.1.9
Release v0.1.8
AceAI v0.1.8
Highlights
- Agent instruction handling now deduplicates added instructions while keeping
system_messagein sync.
Tooling
scripts/release.pyadds branch-based version parsing with validation and keeps--versionoptional;make releaseconditionally forwards the flag and avoids fake defaults.- Added regression coverage for release version inference from branch names.
Breaking
aceai.agent.BufferedStreamingAgentis gone; importers must useAgentBase.AgentBase.instructionsattribute was removed; consumers should rely onadd_instruction+system_message.
Release v0.1.7
AceAI v0.1.7
Highlights
Tooldescription precedence now preferstool(description=...)overfunc.__doc__(also reflected intool_schema["description"]).AgentBaseprompt handling refactor:promptseeds aninstructionslist, withsystem_messagederived from accumulated instructions.- Tracing overhaul:
agent.run→agent.step→llm.*/tool.*spans are now parented via explicittrace_ctx, avoiding async-generator context detach errors and root-span fragmentation. - OpenAI Responses support now surfaces structured output
segments(reasoning/tool/media) and richerLLMStreamEventmapping (tool deltas + image generation).
Tracing / Observability
trace_ctxis now threaded throughAgentBase,LLMService, provider adapters, andToolExecutorso downstream spans consistently inherit the same trace.- Adds Langfuse-friendly span attributes:
langfuse.trace.name,langfuse.trace.input,langfuse.trace.output.
Docs / DX
- Added regression coverage for trace parenting and async-generator cancellation edge cases.
- Refactored agent tests for the
AgentBaseAPI changes and expanded tool description/schema coverage.
Notes
- Breaking:
AgentBase.__init__renamedsys_prompt->prompt; max-step runtime error message changed to “Agent exceeded maximum steps: N without answering”. - Breaking: provider implementers and tool executors must accept/pass through
trace_ctxto keep spans correctly chained. - Tracing:
ToolExecutorspan attribute changed fromtool.arguments.raw_lentotool.arguments(larger attribute payloads).
Release v0.1.6
AceAI v0.1.6
Highlights
- Introduced
ILLMService(Protocol) and updatedAgentBaseto depend on the interface instead of a concreteLLMService, improving testability and injection flexibility. - Added first-class speech-to-text support via
LLMService.transcribe(...)(with tracing + timeouts) and extended the provider contract to acceptprompt. - Made
AgentBasetool execution optional (executor: ToolExecutor | None): runs without tool wiring when you don’t need tools, while still failing fast if tool calls appear without an executor.
Provider / Tools
- OpenAI STT now forwards
prompttoaudio.transcriptions.create(...)for better transcription guidance. - Updated tool signature DI wiring to use
ididi.NodeMeta(instead of the previous marker-based approach), tightening dependency resolution semantics.
Notes
- Potentially breaking: provider
stt(...)signature changed (addsprompt),LLMServicenow exposestranscribe, andAgentBaseconstructor typing expectsILLMService+ optional executor.