Skip to content

feat: LLM call events + Gemini metadata fix + rename to gittielabs-agentflow v0.1.1#1

Open
mrkeithelliott wants to merge 1 commit into
mainfrom
pr-a-llm-events
Open

feat: LLM call events + Gemini metadata fix + rename to gittielabs-agentflow v0.1.1#1
mrkeithelliott wants to merge 1 commit into
mainfrom
pr-a-llm-events

Conversation

@mrkeithelliott

Copy link
Copy Markdown
Contributor

Summary

  • Rename PyPI package name to gittielabs-agentflow (import stays import agentflow)
  • Fix google_genai.py: thinking metadata was computed but silently dropped before being passed to AgentResponse
  • Add LLM_CALL_STARTED / LLM_CALL_COMPLETED event constants and emit them from AgentExecutor.run() with timing, token counts, node_id, and session_id context (needed for Langfuse span nesting in PR C)
  • Export all event constants from the top-level agentflow package
  • Add orchestration and telemetry optional dependency groups to pyproject.toml

Test plan

  • `pytest tests/ -v` — 150 tests pass (1 pre-existing Qdrant mock mismatch unrelated to this PR)
  • Import check: `python -c "from agentflow import LLM_CALL_STARTED, LLM_CALL_COMPLETED; print('ok')"`
  • Verify `AgentResponse.metadata['thinking']` is populated when using a Gemini thinking model

🤖 Generated with Claude Code

…abs-agentflow v0.1.1

- Rename package to gittielabs-agentflow in pyproject.toml (import stays agentflow)
- Add LLM_CALL_STARTED / LLM_CALL_COMPLETED constants to events.py
- Emit LLM call events from AgentExecutor.run() with node_id, session_id, timing, and token usage
- Fix google_genai.py: thinking metadata was computed but dropped; now passed to AgentResponse
- Export new event constants from agentflow.__init__
- Add orchestration and telemetry optional dependency groups

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant