lite-agent 0.16.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. lite_agent-0.16.4/.claude/settings.local.json +17 -0
  2. lite_agent-0.16.4/.github/workflows/ci.yml +33 -0
  3. lite_agent-0.16.4/.gitignore +11 -0
  4. lite_agent-0.16.4/.python-version +1 -0
  5. lite_agent-0.16.4/.vscode/launch.json +16 -0
  6. lite_agent-0.16.4/AGENTS.md +21 -0
  7. lite_agent-0.16.4/CHANGELOG.md +418 -0
  8. lite_agent-0.16.4/CLAUDE.md +157 -0
  9. lite_agent-0.16.4/PKG-INFO +115 -0
  10. lite_agent-0.16.4/README.md +86 -0
  11. lite_agent-0.16.4/examples/README.md +73 -0
  12. lite_agent-0.16.4/examples/basic.py +58 -0
  13. lite_agent-0.16.4/examples/basics/basic_agent.py +54 -0
  14. lite_agent-0.16.4/examples/basics/basic_model.py +53 -0
  15. lite_agent-0.16.4/examples/basics/llm_config_demo.py +90 -0
  16. lite_agent-0.16.4/examples/basics/non_streaming.py +65 -0
  17. lite_agent-0.16.4/examples/basics/reasoning_example.py +127 -0
  18. lite_agent-0.16.4/examples/basics/response_api_example.py +130 -0
  19. lite_agent-0.16.4/examples/basics/responses.py +58 -0
  20. lite_agent-0.16.4/examples/basics/streaming_demo.py +78 -0
  21. lite_agent-0.16.4/examples/context/context.py +70 -0
  22. lite_agent-0.16.4/examples/context/context_modify.py +69 -0
  23. lite_agent-0.16.4/examples/context/context_todo.py +92 -0
  24. lite_agent-0.16.4/examples/context/history_context_demo.py +198 -0
  25. lite_agent-0.16.4/examples/context/set_chat_history_example.py +103 -0
  26. lite_agent-0.16.4/examples/debug/debug_non_streaming.py +57 -0
  27. lite_agent-0.16.4/examples/debug/debug_with_logging.py +39 -0
  28. lite_agent-0.16.4/examples/debug/inspect_runner_modes.py +31 -0
  29. lite_agent-0.16.4/examples/debug/simple_debug.py +37 -0
  30. lite_agent-0.16.4/examples/debug/streaming_usage_check.py +67 -0
  31. lite_agent-0.16.4/examples/demos/channels/rich_channel.py +49 -0
  32. lite_agent-0.16.4/examples/demos/chat_display_demo.py +113 -0
  33. lite_agent-0.16.4/examples/demos/image.py +59 -0
  34. lite_agent-0.16.4/examples/demos/knowledge/main.py +67 -0
  35. lite_agent-0.16.4/examples/demos/terminal.py +74 -0
  36. lite_agent-0.16.4/examples/demos/translate_agent/prompts/translation_agent_prompt.md.j2 +108 -0
  37. lite_agent-0.16.4/examples/demos/translate_agent/translate_agent.py +284 -0
  38. lite_agent-0.16.4/examples/demos/translate_agent/translation_tools.py +484 -0
  39. lite_agent-0.16.4/examples/structured/structured_output_api_comparison.py +133 -0
  40. lite_agent-0.16.4/examples/structured/structured_output_basic.py +88 -0
  41. lite_agent-0.16.4/examples/structured/structured_output_demo.py +226 -0
  42. lite_agent-0.16.4/examples/structured/structured_output_responses_api.py +164 -0
  43. lite_agent-0.16.4/examples/tools/confirm_and_continue.py +60 -0
  44. lite_agent-0.16.4/examples/tools/consolidate_history.py +47 -0
  45. lite_agent-0.16.4/examples/tools/custom_termination.py +119 -0
  46. lite_agent-0.16.4/examples/tools/message_transfer.py +190 -0
  47. lite_agent-0.16.4/examples/tools/stop_before_functions.py +117 -0
  48. lite_agent-0.16.4/examples/tools/stop_with_tool_call.py +47 -0
  49. lite_agent-0.16.4/examples/tools/type_system_example.py +103 -0
  50. lite_agent-0.16.4/examples/workflows/cancel_and_transfer_demo.py +300 -0
  51. lite_agent-0.16.4/examples/workflows/handoffs.py +77 -0
  52. lite_agent-0.16.4/examples/workflows/new_message_structure_demo.py +182 -0
  53. lite_agent-0.16.4/pyproject.toml +113 -0
  54. lite_agent-0.16.4/pyrightconfig.json +28 -0
  55. lite_agent-0.16.4/scripts/record_chat_messages.py +51 -0
  56. lite_agent-0.16.4/src/lite_agent/__init__.py +19 -0
  57. lite_agent-0.16.4/src/lite_agent/agent.py +476 -0
  58. lite_agent-0.16.4/src/lite_agent/chat_display.py +1225 -0
  59. lite_agent-0.16.4/src/lite_agent/client.py +476 -0
  60. lite_agent-0.16.4/src/lite_agent/constants.py +30 -0
  61. lite_agent-0.16.4/src/lite_agent/context.py +43 -0
  62. lite_agent-0.16.4/src/lite_agent/loggers.py +3 -0
  63. lite_agent-0.16.4/src/lite_agent/message_transfers.py +138 -0
  64. lite_agent-0.16.4/src/lite_agent/processors/__init__.py +4 -0
  65. lite_agent-0.16.4/src/lite_agent/processors/completion_event_processor.py +321 -0
  66. lite_agent-0.16.4/src/lite_agent/processors/response_event_processor.py +216 -0
  67. lite_agent-0.16.4/src/lite_agent/py.typed +0 -0
  68. lite_agent-0.16.4/src/lite_agent/response_handlers/__init__.py +11 -0
  69. lite_agent-0.16.4/src/lite_agent/response_handlers/base.py +54 -0
  70. lite_agent-0.16.4/src/lite_agent/response_handlers/completion.py +76 -0
  71. lite_agent-0.16.4/src/lite_agent/response_handlers/responses.py +80 -0
  72. lite_agent-0.16.4/src/lite_agent/runner.py +998 -0
  73. lite_agent-0.16.4/src/lite_agent/stream_handlers/__init__.py +6 -0
  74. lite_agent-0.16.4/src/lite_agent/stream_handlers/openai.py +129 -0
  75. lite_agent-0.16.4/src/lite_agent/templates/handoffs_source_instructions.xml.j2 +10 -0
  76. lite_agent-0.16.4/src/lite_agent/templates/handoffs_target_instructions.xml.j2 +9 -0
  77. lite_agent-0.16.4/src/lite_agent/templates/wait_for_user_instructions.xml.j2 +6 -0
  78. lite_agent-0.16.4/src/lite_agent/types/__init__.py +131 -0
  79. lite_agent-0.16.4/src/lite_agent/types/events.py +119 -0
  80. lite_agent-0.16.4/src/lite_agent/types/messages.py +345 -0
  81. lite_agent-0.16.4/src/lite_agent/types/tool_calls.py +15 -0
  82. lite_agent-0.16.4/src/lite_agent/utils/__init__.py +0 -0
  83. lite_agent-0.16.4/src/lite_agent/utils/advanced_message_builder.py +234 -0
  84. lite_agent-0.16.4/src/lite_agent/utils/message_builder.py +213 -0
  85. lite_agent-0.16.4/src/lite_agent/utils/message_converter.py +256 -0
  86. lite_agent-0.16.4/src/lite_agent/utils/message_state_manager.py +152 -0
  87. lite_agent-0.16.4/src/lite_agent/utils/metrics.py +50 -0
  88. lite_agent-0.16.4/temp/main.py +36 -0
  89. lite_agent-0.16.4/tests/__init__.py +1 -0
  90. lite_agent-0.16.4/tests/conftest.py +21 -0
  91. lite_agent-0.16.4/tests/integration/test_agent_with_mocks.py +90 -0
  92. lite_agent-0.16.4/tests/integration/test_basic.py +37 -0
  93. lite_agent-0.16.4/tests/integration/test_context_modification.py +147 -0
  94. lite_agent-0.16.4/tests/integration/test_mock_openai.py +47 -0
  95. lite_agent-0.16.4/tests/integration/test_structured_output_integration.py +181 -0
  96. lite_agent-0.16.4/tests/mocks/basic/1.jsonl +32 -0
  97. lite_agent-0.16.4/tests/mocks/confirm_and_continue/1.jsonl +21 -0
  98. lite_agent-0.16.4/tests/mocks/confirm_and_continue/2.jsonl +48 -0
  99. lite_agent-0.16.4/tests/mocks/context/1.jsonl +19 -0
  100. lite_agent-0.16.4/tests/mocks/handoffs/1.jsonl +36 -0
  101. lite_agent-0.16.4/tests/performance/test_set_chat_history_performance.py +142 -0
  102. lite_agent-0.16.4/tests/test_new_messages.py +157 -0
  103. lite_agent-0.16.4/tests/unit/test_agent.py +213 -0
  104. lite_agent-0.16.4/tests/unit/test_agent_additional.py +178 -0
  105. lite_agent-0.16.4/tests/unit/test_agent_handoffs.py +487 -0
  106. lite_agent-0.16.4/tests/unit/test_append_message.py +213 -0
  107. lite_agent-0.16.4/tests/unit/test_cancel_pending_tools.py +233 -0
  108. lite_agent-0.16.4/tests/unit/test_chat_display.py +248 -0
  109. lite_agent-0.16.4/tests/unit/test_chat_display_additional.py +304 -0
  110. lite_agent-0.16.4/tests/unit/test_chat_display_deep.py +394 -0
  111. lite_agent-0.16.4/tests/unit/test_chat_display_simple.py +155 -0
  112. lite_agent-0.16.4/tests/unit/test_chat_display_strings.py +67 -0
  113. lite_agent-0.16.4/tests/unit/test_client.py +283 -0
  114. lite_agent-0.16.4/tests/unit/test_completion_condition.py +88 -0
  115. lite_agent-0.16.4/tests/unit/test_file_recording.py +123 -0
  116. lite_agent-0.16.4/tests/unit/test_message_builder.py +426 -0
  117. lite_agent-0.16.4/tests/unit/test_message_transfer.py +192 -0
  118. lite_agent-0.16.4/tests/unit/test_message_transfers.py +94 -0
  119. lite_agent-0.16.4/tests/unit/test_message_transfers_additional.py +334 -0
  120. lite_agent-0.16.4/tests/unit/test_response_api_format.py +130 -0
  121. lite_agent-0.16.4/tests/unit/test_response_event_processor.py +627 -0
  122. lite_agent-0.16.4/tests/unit/test_response_handlers.py +292 -0
  123. lite_agent-0.16.4/tests/unit/test_runner.py +188 -0
  124. lite_agent-0.16.4/tests/unit/test_set_chat_history.py +199 -0
  125. lite_agent-0.16.4/tests/unit/test_simple_stream_handlers.py +56 -0
  126. lite_agent-0.16.4/tests/unit/test_stream_chunk_processor.py +264 -0
  127. lite_agent-0.16.4/tests/unit/test_stream_handlers_additional.py +176 -0
  128. lite_agent-0.16.4/tests/unit/test_streaming_config.py +102 -0
  129. lite_agent-0.16.4/tests/unit/test_structured_output.py +129 -0
  130. lite_agent-0.16.4/tests/unit/test_translation_tools_demo.py +81 -0
  131. lite_agent-0.16.4/tests/unit/test_utils_extended.py +96 -0
  132. lite_agent-0.16.4/tests/utils/__init__.py +1 -0
  133. lite_agent-0.16.4/tests/utils/mock_openai.py +68 -0
  134. lite_agent-0.16.4/uv.lock +2389 -0
@@ -0,0 +1,17 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(find:*)",
5
+ "Bash(git config:*)",
6
+ "Bash(python:*)",
7
+ "Bash(rm:*)",
8
+ "Bash(ruff:*)",
9
+ "Bash(python test:*)",
10
+ "Bash(mv:*)",
11
+ "Bash(pytest:*)",
12
+ "Bash(python:*)",
13
+ "Bash(pyright:*)"
14
+ ],
15
+ "deny": []
16
+ }
17
+ }
@@ -0,0 +1,33 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Set up uv
17
+ uses: astral-sh/setup-uv@v6
18
+ with:
19
+ python-version: "3.12"
20
+ activate-environment: true
21
+
22
+ - name: Install dependencies
23
+ run: uv sync
24
+
25
+ - name: Run tests with coverage
26
+ run: |
27
+ pytest --cov=src --cov-report=xml
28
+ - name: Upload coverage to Codecov
29
+ uses: codecov/codecov-action@v4
30
+ with:
31
+ token: ${{ secrets.CODECOV_TOKEN }}
32
+ files: ./coverage.xml
33
+ fail_ci_if_error: true
@@ -0,0 +1,11 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Virtual environments
10
+ .venv
11
+ .coverage
@@ -0,0 +1 @@
1
+ 3.11
@@ -0,0 +1,16 @@
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "name": "Python main",
9
+ "type": "debugpy",
10
+ "request": "launch",
11
+ "program": "${file}",
12
+ "console": "integratedTerminal",
13
+ "justMyCode": false
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,21 @@
1
+ # Repository Guidelines
2
+
3
+ ## Project Structure & Module Organization
4
+
5
+ The core package lives in `src/lite_agent`, organized into focused subpackages such as `adapters`, `processors`, `stream_handlers`, and `utils` to keep agent logic modular. Tests reside under `tests/` and mirror the runtime layout to keep coverage tight. Example agents and runnable demos land in `examples/`, while `docs/` holds longer-form references. Automation helpers and one-off utilities belong in `scripts/`, and distribution artifacts are written to `dist/` during packaging runs.
6
+
7
+ ## Build, Test, and Development Commands
8
+
9
+ Use `uv pip install -e .` (or `pip install -e .`) to bootstrap a development environment with local changes. Run `pytest` for the default suite, and append `--cov=src/lite_agent --cov-report=term-missing` when validating coverage before a pull request. Lint with `ruff check --fix src tests examples` to auto-resolve style issues, then follow up with `ruff check` to catch anything remaining. Invoke `pyright` to confirm static typing stays clean; configuration lives in `pyrightconfig.json`.
10
+
11
+ ## Coding Style & Naming Conventions
12
+
13
+ Target Python 3.10+ syntax, keep indentation at four spaces, and respect the `line-length = 200` setting defined in `pyproject.toml`. Ruff enforces a broad selection of rules; rely on built-in types (`list`, `dict`, `tuple`) instead of legacy `typing` aliases. Every function, method, and public attribute needs explicit type annotations to align with the project’s "accurate and complete" typing standard. Modules and files use snake_case, classes use PascalCase, and tests follow the `test_<subject>.py` pattern.
14
+
15
+ ## Testing Guidelines
16
+
17
+ Favor `pytest` for all checks and leverage `pytest-asyncio` for coroutine-heavy code paths. Keep test names descriptive, e.g., `test_runner_handles_streaming_response`, and group scenario helpers in local fixtures within the same module. When a change modifies agent behavior, include regression tests that assert streamed token order and tool-calling traces. Aim to maintain or raise coverage; highlight any intentional gaps in the pull request discussion.
18
+
19
+ ## Commit & Pull Request Guidelines
20
+
21
+ Commits follow a Conventional Commit style (`feat(structured-output): ...`, `fix(examples): ...`), so include a scope that maps to the touched module. Each pull request should summarize the agent behavior change, list validation commands (`pytest`, `ruff check`, `pyright`), and reference related issues. Provide screenshots or terminal snippets when CLI output changes, and ensure new configuration flags are documented under `docs/` or `examples/` before requesting review.
@@ -0,0 +1,418 @@
1
+ ## v0.16.4
2
+
3
+ [v0.16.3...v0.16.4](https://github.com/Jannchie/lite-agent/compare/v0.16.3...v0.16.4)
4
+
5
+ ### :art: Refactors
6
+
7
+ - improve typing and code clarity across modules - By [Jannchie](mailto:panjianqi@preferred.jp) in [12ec754](https://github.com/Jannchie/lite-agent/commit/12ec754)
8
+
9
+ ## v0.16.3
10
+
11
+ [v0.16.2...v0.16.3](https://github.com/Jannchie/lite-agent/compare/v0.16.2...v0.16.3)
12
+
13
+ ### :wrench: Chores
14
+
15
+ - **ci**: add python 3.14 classifier - By [Jannchie](mailto:jannchie@gmail.com) in [2a6efa5](https://github.com/Jannchie/lite-agent/commit/2a6efa5)
16
+
17
+ ## v0.16.2
18
+
19
+ [v0.16.1...v0.16.2](https://github.com/Jannchie/lite-agent/compare/v0.16.1...v0.16.2)
20
+
21
+ ### :sparkles: Features
22
+
23
+ - **examples**: add streaming usage check example - By [Jannchie](mailto:jannchie@gmail.com) in [56cebcb](https://github.com/Jannchie/lite-agent/commit/56cebcb)
24
+ - **lite-agent**: include usage in streaming options - By [Jannchie](mailto:jannchie@gmail.com) in [c0367d0](https://github.com/Jannchie/lite-agent/commit/c0367d0)
25
+
26
+ ## v0.16.1
27
+
28
+ [v0.16.0...v0.16.1](https://github.com/Jannchie/lite-agent/compare/v0.16.0...v0.16.1)
29
+
30
+ ### :sparkles: Features
31
+
32
+ - **client**: include usage in streaming responses - By [Jannchie](mailto:jannchie@gmail.com) in [46c6e0a](https://github.com/Jannchie/lite-agent/commit/46c6e0a)
33
+
34
+ ## v0.16.0
35
+
36
+ [v0.15.0...v0.16.0](https://github.com/Jannchie/lite-agent/compare/v0.15.0...v0.16.0)
37
+
38
+ ### :sparkles: Features
39
+
40
+ - **examples**: add translate_agent demo and lite llm client - By [Jannchie](mailto:jannchie@gmail.com) in [0791dd9](https://github.com/Jannchie/lite-agent/commit/0791dd9)
41
+
42
+ ### :art: Refactors
43
+
44
+ - **translate-agent**: move prompt template loader into main script - By [Jannchie](mailto:jannchie@gmail.com) in [e861703](https://github.com/Jannchie/lite-agent/commit/e861703)
45
+
46
+ ### :memo: Documentation
47
+
48
+ - **translate-agent**: translate demo prompts and update CLI prompt emoji - By [Jannchie](mailto:jannchie@gmail.com) in [9995080](https://github.com/Jannchie/lite-agent/commit/9995080)
49
+
50
+ ## v0.15.0
51
+
52
+ [v0.14.1...v0.15.0](https://github.com/Jannchie/lite-agent/compare/v0.14.1...v0.15.0)
53
+
54
+ ### :sparkles: Features
55
+
56
+ - **examples**: add translate_board demo and list in README - By [Jannchie](mailto:jannchie@gmail.com) in [0309864](https://github.com/Jannchie/lite-agent/commit/0309864)
57
+ - **runner**: add message history display and export - By [Jannchie](mailto:jannchie@gmail.com) in [e7d5c52](https://github.com/Jannchie/lite-agent/commit/e7d5c52)
58
+ - **structured-output**: add structured output support with response_format parameter and pydantic schema enforcement - By [Jannchie](mailto:jannchie@gmail.com) in [0d9c82d](https://github.com/Jannchie/lite-agent/commit/0d9c82d)
59
+ - **translate-board**: replace simple translation workspace with richer project model - By [Jannchie](mailto:jannchie@gmail.com) in [8653a96](https://github.com/Jannchie/lite-agent/commit/8653a96)
60
+
61
+ ### :adhesive_bandage: Fixes
62
+
63
+ - **examples**: fix return order in test_api && update type annotations - By [Jannchie](mailto:jannchie@gmail.com) in [0b1dd2b](https://github.com/Jannchie/lite-agent/commit/0b1dd2b)
64
+ - **response-processor**: convert pydantic models to primitives - By [Jannchie](mailto:jannchie@gmail.com) in [dcd1706](https://github.com/Jannchie/lite-agent/commit/dcd1706)
65
+ - **streaming-demo**: print all message content parts - By [Jannchie](mailto:jannchie@gmail.com) in [3d35449](https://github.com/Jannchie/lite-agent/commit/3d35449)
66
+
67
+ ### :art: Refactors
68
+
69
+ - **client**: replace litellm integration with OpenAI SDK - By [Jannchie](mailto:jannchie@gmail.com) in [275a7c3](https://github.com/Jannchie/lite-agent/commit/275a7c3)
70
+ - **examples**: reorganize and update examples layout - By [Jannchie](mailto:jannchie@gmail.com) in [4acb039](https://github.com/Jannchie/lite-agent/commit/4acb039)
71
+ - **imports**: update client import in example && consolidate imports in test_runner - By [Jannchie](mailto:jannchie@gmail.com) in [6783bd7](https://github.com/Jannchie/lite-agent/commit/6783bd7)
72
+
73
+ ### :memo: Documentation
74
+
75
+ - add repository guidelines and development instructions - By [Jannchie](mailto:jannchie@gmail.com) in [6c36366](https://github.com/Jannchie/lite-agent/commit/6c36366)
76
+
77
+ ## v0.14.1
78
+
79
+ [v0.14.0...v0.14.1](https://github.com/Jannchie/lite-agent/compare/v0.14.0...v0.14.1)
80
+
81
+ ### :adhesive_bandage: Fixes
82
+
83
+ - **context**: prevent circular import with newmessage - By [Jannchie](mailto:jannchie@gmail.com) in [80b3b68](https://github.com/Jannchie/lite-agent/commit/80b3b68)
84
+
85
+ ## v0.14.0
86
+
87
+ [v0.13.0...v0.14.0](https://github.com/Jannchie/lite-agent/compare/v0.13.0...v0.14.0)
88
+
89
+ ### :sparkles: Features
90
+
91
+ - **chat-display**: improve compact message table layout and add flexible string output functions - By [Jannchie](mailto:jannchie@gmail.com) in [454fe91](https://github.com/Jannchie/lite-agent/commit/454fe91)
92
+ - **chat-display**: add messages_to_string and chat_summary_to_string - By [Jannchie](mailto:jannchie@gmail.com) in [887cdf0](https://github.com/Jannchie/lite-agent/commit/887cdf0)
93
+ - **context**: add context modification example and tests - By [Jannchie](mailto:jannchie@gmail.com) in [3e32ac1](https://github.com/Jannchie/lite-agent/commit/3e32ac1)
94
+
95
+ ### :art: Refactors
96
+
97
+ - **chat-display**: use keyword arguments and typing hints - By [Jannchie](mailto:jannchie@gmail.com) in [3e7a6cd](https://github.com/Jannchie/lite-agent/commit/3e7a6cd)
98
+
99
+ ## v0.13.0
100
+
101
+ [v0.12.0...v0.13.0](https://github.com/Jannchie/lite-agent/compare/v0.12.0...v0.13.0)
102
+
103
+ ### :sparkles: Features
104
+
105
+ - **runner**: add selective history context injection based on tool signature - By [Jannchie](mailto:jannchie@gmail.com) in [15866d4](https://github.com/Jannchie/lite-agent/commit/15866d4)
106
+
107
+ ### :adhesive_bandage: Fixes
108
+
109
+ - **runner**: improve historycontext parameter detection - By [Jannchie](mailto:jannchie@gmail.com) in [7099abc](https://github.com/Jannchie/lite-agent/commit/7099abc)
110
+
111
+ ## v0.12.0
112
+
113
+ [v0.11.0...v0.12.0](https://github.com/Jannchie/lite-agent/compare/v0.11.0...v0.12.0)
114
+
115
+ ### :sparkles: Features
116
+
117
+ - **context**: add history context injection for tools - By [Jannchie](mailto:jannchie@gmail.com) in [7649170](https://github.com/Jannchie/lite-agent/commit/7649170)
118
+ - **termination**: add custom termination tools support - By [Jannchie](mailto:jannchie@gmail.com) in [5e65e38](https://github.com/Jannchie/lite-agent/commit/5e65e38)
119
+
120
+ ## v0.11.0
121
+
122
+ [v0.10.0...v0.11.0](https://github.com/Jannchie/lite-agent/compare/v0.10.0...v0.11.0)
123
+
124
+ ### :sparkles: Features
125
+
126
+ - **client**: add typed dicts for reasoning config and refactor parsing logic - By [Jannchie](mailto:jannchie@gmail.com) in [8d125b4](https://github.com/Jannchie/lite-agent/commit/8d125b4)
127
+
128
+ ### :adhesive_bandage: Fixes
129
+
130
+ - **message-builder**: ensure correct meta types and safer field access - By [Jannchie](mailto:jannchie@gmail.com) in [6c29c43](https://github.com/Jannchie/lite-agent/commit/6c29c43)
131
+
132
+ ## v0.10.0
133
+
134
+ [v0.9.0...v0.10.0](https://github.com/Jannchie/lite-agent/compare/v0.9.0...v0.10.0)
135
+
136
+ ### :rocket: Breaking Changes
137
+
138
+ - **reasoning-config**: streamline client reasoning config and improve error handling - By [Jannchie](mailto:jannchie@gmail.com) in [23c5d01](https://github.com/Jannchie/lite-agent/commit/23c5d01)
139
+ - **runner**: remove deprecated run_continue methods - By [Jannchie](mailto:jannchie@gmail.com) in [37a8675](https://github.com/Jannchie/lite-agent/commit/37a8675)
140
+
141
+ ### :adhesive_bandage: Fixes
142
+
143
+ - **chat-display**: separate label and content rows in messages - By [Jannchie](mailto:jannchie@gmail.com) in [06a6405](https://github.com/Jannchie/lite-agent/commit/06a6405)
144
+ - **runner**: update meta fields handling in update_meta - By [Jannchie](mailto:jannchie@gmail.com) in [254f610](https://github.com/Jannchie/lite-agent/commit/254f610)
145
+
146
+ ### :art: Refactors
147
+
148
+ - **messages**: modularize message handling and conversion - By [Jannchie](mailto:jannchie@gmail.com) in [acad106](https://github.com/Jannchie/lite-agent/commit/acad106)
149
+
150
+ ### :memo: Documentation
151
+
152
+ - **docs**: expand examples and clarify message types - By [Jannchie](mailto:jannchie@gmail.com) in [9f3a5d7](https://github.com/Jannchie/lite-agent/commit/9f3a5d7)
153
+
154
+ ## v0.9.0
155
+
156
+ [v0.8.0...v0.9.0](https://github.com/Jannchie/lite-agent/compare/v0.8.0...v0.9.0)
157
+
158
+ ### :sparkles: Features
159
+
160
+ - **agent**: improve assistant message tool_call handling - By [Jannchie](mailto:jannchie@gmail.com) in [45e6de8](https://github.com/Jannchie/lite-agent/commit/45e6de8)
161
+ - **chat-display**: add column-style message display and show model info - By [Jannchie](mailto:jannchie@gmail.com) in [3559137](https://github.com/Jannchie/lite-agent/commit/3559137)
162
+ - **tests**: add tests for client message_builder and response handlers - By [Jannchie](mailto:jannchie@gmail.com) in [ceec7d7](https://github.com/Jannchie/lite-agent/commit/ceec7d7)
163
+
164
+ ### :art: Refactors
165
+
166
+ - **examples**: update examples to use new message and content types - By [Jannchie](mailto:jannchie@gmail.com) in [59b4618](https://github.com/Jannchie/lite-agent/commit/59b4618)
167
+
168
+ ### :wrench: Chores
169
+
170
+ - **deps**: bump funcall to 0.11.0 - By [Jannchie](mailto:jannchie@gmail.com) in [eb5e7ae](https://github.com/Jannchie/lite-agent/commit/eb5e7ae)
171
+
172
+ ## v0.8.0
173
+
174
+ [v0.7.0...v0.8.0](https://github.com/Jannchie/lite-agent/compare/v0.7.0...v0.8.0)
175
+
176
+ ### :rocket: Breaking Changes
177
+
178
+ - **runner**: remove dict-format and legacy support from message history and enforce newmessage format - By [Jannchie](mailto:jannchie@gmail.com) in [44b435c](https://github.com/Jannchie/lite-agent/commit/44b435c)
179
+
180
+ ### :sparkles: Features
181
+
182
+ - **agent**: add dynamic stop-before-functions support - By [Jannchie](mailto:jannchie@gmail.com) in [e7de181](https://github.com/Jannchie/lite-agent/commit/e7de181)
183
+ - **agent**: improve tool call extraction and meta preservation - By [Jannchie](mailto:jannchie@gmail.com) in [1b10296](https://github.com/Jannchie/lite-agent/commit/1b10296)
184
+ - **runner**: add cancellation events for pending tool calls and implement function_call_output for agent transfers - By [Jannchie](mailto:jannchie@gmail.com) in [4c298b7](https://github.com/Jannchie/lite-agent/commit/4c298b7)
185
+ - **runner**: preserve original dict message structure in chat history - By [Jannchie](mailto:jannchie@gmail.com) in [da4ad59](https://github.com/Jannchie/lite-agent/commit/da4ad59)
186
+
187
+ ## v0.7.0
188
+
189
+ [v0.6.0...v0.7.0](https://github.com/Jannchie/lite-agent/compare/v0.6.0...v0.7.0)
190
+
191
+ ### :sparkles: Features
192
+
193
+ - **assistant-meta**: add model and usage support to assistant message meta and refactor token accounting - By [Jannchie](mailto:jannchie@gmail.com) in [b50ed0e](https://github.com/Jannchie/lite-agent/commit/b50ed0e)
194
+ - **message-builder**: support array content in assistant messages - By [Jannchie](mailto:jannchie@gmail.com) in [1b7a790](https://github.com/Jannchie/lite-agent/commit/1b7a790)
195
+ - **runner**: add tool call handling and usage events for completion and responses api - By [Jannchie](mailto:jannchie@gmail.com) in [1a82a18](https://github.com/Jannchie/lite-agent/commit/1a82a18)
196
+
197
+ ### :art: Refactors
198
+
199
+ - **messages**: replace type checks with isinstance for assistant content - By [Jannchie](mailto:jannchie@gmail.com) in [ec506a8](https://github.com/Jannchie/lite-agent/commit/ec506a8)
200
+ - **utils**: extract constants and message utilities && centralize timing metrics - By [Jannchie](mailto:jannchie@gmail.com) in [d928637](https://github.com/Jannchie/lite-agent/commit/d928637)
201
+
202
+ ## v0.6.0
203
+
204
+ [v0.5.0...v0.6.0](https://github.com/Jannchie/lite-agent/compare/v0.5.0...v0.6.0)
205
+
206
+ ### :sparkles: Features
207
+
208
+ - **examples**: add basic and llm config usage examples - By [Jannchie](mailto:jannchie@gmail.com) in [ea4112f](https://github.com/Jannchie/lite-agent/commit/ea4112f)
209
+ - **streaming**: add unified streaming and non-streaming response handling - By [Jannchie](mailto:jannchie@gmail.com) in [53daf42](https://github.com/Jannchie/lite-agent/commit/53daf42)
210
+
211
+ ## v0.5.0
212
+
213
+ [v0.4.1...v0.5.0](https://github.com/Jannchie/lite-agent/compare/v0.4.1...v0.5.0)
214
+
215
+ ### :sparkles: Features
216
+
217
+ - **reasoning**: add unified reasoning config for agent and runner - By [Jannchie](mailto:jannchie@gmail.com) in [1ede077](https://github.com/Jannchie/lite-agent/commit/1ede077)
218
+
219
+ ### :adhesive_bandage: Fixes
220
+
221
+ - **runner**: remove redundant last message check - By [Jannchie](mailto:jannchie@gmail.com) in [0037b96](https://github.com/Jannchie/lite-agent/commit/0037b96)
222
+
223
+ ### :memo: Documentation
224
+
225
+ - **claude-guide**: expand testing linting and dev instructions - By [Jannchie](mailto:jannchie@gmail.com) in [d9136c2](https://github.com/Jannchie/lite-agent/commit/d9136c2)
226
+
227
+ ## v0.4.1
228
+
229
+ [v0.4.0...v0.4.1](https://github.com/Jannchie/lite-agent/compare/v0.4.0...v0.4.1)
230
+
231
+ ### :art: Refactors
232
+
233
+ - **runner**: replace if-elif with match-case for chunk handling - By [Jannchie](mailto:jannchie@gmail.com) in [e9a8464](https://github.com/Jannchie/lite-agent/commit/e9a8464)
234
+
235
+ ## v0.4.0
236
+
237
+ [v0.3.0...v0.4.0](https://github.com/Jannchie/lite-agent/compare/v0.3.0...v0.4.0)
238
+
239
+ ### :rocket: Breaking Changes
240
+
241
+ - **agent**: unify message handling using new messages format - By [Jannchie](mailto:jannchie@gmail.com) in [f31769a](https://github.com/Jannchie/lite-agent/commit/f31769a)
242
+ - **chat-display**: remove display_chat_history usage and exports - By [Jannchie](mailto:jannchie@gmail.com) in [fca6ff7](https://github.com/Jannchie/lite-agent/commit/fca6ff7)
243
+ - **chat-display**: rename rich_helpers to chat_display and update related imports - By [Jannchie](mailto:panjianqi@preferred.jp) in [8bbd83b](https://github.com/Jannchie/lite-agent/commit/8bbd83b)
244
+ - **chunks**: rename tool_call and tool_call_result to function_call and function_call_output - By [Jannchie](mailto:jannchie@gmail.com) in [2821478](https://github.com/Jannchie/lite-agent/commit/2821478)
245
+ - **function-call**: rename function_call_id to call_id - By [Jannchie](mailto:jannchie@gmail.com) in [d415fce](https://github.com/Jannchie/lite-agent/commit/d415fce)
246
+ - **messages**: remove legacy function call messages and migrate to new assistant message structure - By [Jannchie](mailto:jannchie@gmail.com) in [c632629](https://github.com/Jannchie/lite-agent/commit/c632629)
247
+ - **messages**: remove conversion helpers and fully switch to new message format - By [Jannchie](mailto:jannchie@gmail.com) in [75e47bf](https://github.com/Jannchie/lite-agent/commit/75e47bf)
248
+ - **messages**: introduce new structured message types and unified message format - By [Jannchie](mailto:jannchie@gmail.com) in [cb8c091](https://github.com/Jannchie/lite-agent/commit/cb8c091)
249
+ - **processors**: rename stream_chunk_processor to completion_event_processor - By [Jannchie](mailto:jannchie@gmail.com) in [80dedb9](https://github.com/Jannchie/lite-agent/commit/80dedb9)
250
+ - **runner**: remove final_message type and streamline tool call handling - By [Jannchie](mailto:jannchie@gmail.com) in [ba91c29](https://github.com/Jannchie/lite-agent/commit/ba91c29)
251
+ - **types**: rename chunk types to event types and update references - By [Jannchie](mailto:jannchie@gmail.com) in [d1354b3](https://github.com/Jannchie/lite-agent/commit/d1354b3)
252
+ - **types**: remove finalmessagechunk type and usage - By [Jannchie](mailto:jannchie@gmail.com) in [6b3281e](https://github.com/Jannchie/lite-agent/commit/6b3281e)
253
+
254
+ ### :sparkles: Features
255
+
256
+ - **chat-display**: add support for new message format - By [Jannchie](mailto:jannchie@gmail.com) in [a3fd1c6](https://github.com/Jannchie/lite-agent/commit/a3fd1c6)
257
+ - **chat-display**: add meta stats, local time, and message performance info to chat display and message types - By [Jannchie](mailto:jannchie@gmail.com) in [bda3346](https://github.com/Jannchie/lite-agent/commit/bda3346)
258
+ - **responses**: support new message format for response api - By [Jannchie](mailto:jannchie@gmail.com) in [e34a2ef](https://github.com/Jannchie/lite-agent/commit/e34a2ef)
259
+ - **responses**: add response streaming support and client methods - By [Jannchie](mailto:jannchie@gmail.com) in [f484530](https://github.com/Jannchie/lite-agent/commit/f484530)
260
+ - **rich-helpers**: add print_messages for compact output - By [Jannchie](mailto:panjianqi@preferred.jp) in [5a49203](https://github.com/Jannchie/lite-agent/commit/5a49203)
261
+ - **runner**: support interactive tool call confirmation in terminal && improve chunk handling - By [Jannchie](mailto:jannchie@gmail.com) in [7164284](https://github.com/Jannchie/lite-agent/commit/7164284)
262
+
263
+ ### :adhesive_bandage: Fixes
264
+
265
+ - **agent**: use isinstance for to_llm_dict checks - By [Jannchie](mailto:jannchie@gmail.com) in [e996785](https://github.com/Jannchie/lite-agent/commit/e996785)
266
+ - **examples**: add content checks for dict messages - By [Jannchie](mailto:panjianqi@preferred.jp) in [94afcae](https://github.com/Jannchie/lite-agent/commit/94afcae)
267
+ - **import**: update stream_handler imports && fix response api logic - By [Jannchie](mailto:jannchie@gmail.com) in [be192da](https://github.com/Jannchie/lite-agent/commit/be192da)
268
+ - **input-image**: ensure file_id or image_url present and improve conversion handling - By [Jannchie](mailto:jannchie@gmail.com) in [d0bcdd5](https://github.com/Jannchie/lite-agent/commit/d0bcdd5)
269
+ - **runner**: improve wait_for_user finish detection - By [Jannchie](mailto:jannchie@gmail.com) in [98435b0](https://github.com/Jannchie/lite-agent/commit/98435b0)
270
+ - **runner**: fix final message processing to return responses - By [Jannchie](mailto:jannchie@gmail.com) in [e813f4a](https://github.com/Jannchie/lite-agent/commit/e813f4a)
271
+ - **stream-chunk-processor**: construct usage event with correct usage type - By [Jannchie](mailto:jannchie@gmail.com) in [89b2cbe](https://github.com/Jannchie/lite-agent/commit/89b2cbe)
272
+ - **tests**: improve type hints and patching mocks - By [Jannchie](mailto:jannchie@gmail.com) in [e4dfd64](https://github.com/Jannchie/lite-agent/commit/e4dfd64)
273
+ - **tests**: update patch paths for litellm.acompletion - By [Jannchie](mailto:jannchie@gmail.com) in [897a284](https://github.com/Jannchie/lite-agent/commit/897a284)
274
+
275
+ ### :art: Refactors
276
+
277
+ - **examples**: replace final_message with assistant_message in includes - By [Jannchie](mailto:jannchie@gmail.com) in [c5431ab](https://github.com/Jannchie/lite-agent/commit/c5431ab)
278
+ - **runner**: simplify message appending logic && tidy code style - By [Jannchie](mailto:jannchie@gmail.com) in [412a8ec](https://github.com/Jannchie/lite-agent/commit/412a8ec)
279
+ - **runner**: replace api handling with match statement && set default api to responses - By [Jannchie](mailto:jannchie@gmail.com) in [75c823a](https://github.com/Jannchie/lite-agent/commit/75c823a)
280
+ - **stream-handlers**: rename litellm_stream_handler to litellm_completion_stream_handler && update imports and tests - By [Jannchie](mailto:jannchie@gmail.com) in [5b7ac92](https://github.com/Jannchie/lite-agent/commit/5b7ac92)
281
+ - **tests**: rename tool_call types to function_call && remove unused usage tests - By [Jannchie](mailto:jannchie@gmail.com) in [1e0992f](https://github.com/Jannchie/lite-agent/commit/1e0992f)
282
+
283
+ ### :memo: Documentation
284
+
285
+ - add claude guidance documentation - By [Jannchie](mailto:panjianqi@preferred.jp) in [a741494](https://github.com/Jannchie/lite-agent/commit/a741494)
286
+
287
+ ### :wrench: Chores
288
+
289
+ - **dependencies**: update lock file - By [Jannchie](mailto:jannchie@gmail.com) in [042f6f3](https://github.com/Jannchie/lite-agent/commit/042f6f3)
290
+ - **dev-deps**: add pytest-asyncio to dev dependencies - By [Jannchie](mailto:jannchie@gmail.com) in [57543cd](https://github.com/Jannchie/lite-agent/commit/57543cd)
291
+ - **lint**: remove commented ruff exclude config - By [Jannchie](mailto:jannchie@gmail.com) in [25635dd](https://github.com/Jannchie/lite-agent/commit/25635dd)
292
+
293
+ ## v0.3.0
294
+
295
+ [v0.2.0...v0.3.0](https://github.com/Jannchie/lite-agent/compare/v0.2.0...v0.3.0)
296
+
297
+ ### :rocket: Breaking Changes
298
+
299
+ - **rich-helpers**: rename render_chat_history to print_chat_history and update imports - By [Jannchie](mailto:jannchie@gmail.com) in [3db6721](https://github.com/Jannchie/lite-agent/commit/3db6721)
300
+
301
+ ### :sparkles: Features
302
+
303
+ - **agent**: use jinja2 templates for instruction messages - By [Jannchie](mailto:jannchie@gmail.com) in [f5ccbd5](https://github.com/Jannchie/lite-agent/commit/f5ccbd5)
304
+ - **agent**: add completion_condition and task_done tool support - By [Jannchie](mailto:jannchie@gmail.com) in [28126b1](https://github.com/Jannchie/lite-agent/commit/28126b1)
305
+ - **response-api**: add response api format for text and image input - By [Jannchie](mailto:jannchie@gmail.com) in [4b44f91](https://github.com/Jannchie/lite-agent/commit/4b44f91)
306
+ - **rich-helpers**: add rich chat history renderer and chat summary utils - By [Jannchie](mailto:jannchie@gmail.com) in [5a570ce](https://github.com/Jannchie/lite-agent/commit/5a570ce)
307
+ - **runner**: add set_chat_history to support full chat history replay and agent tracking - By [Jannchie](mailto:jannchie@gmail.com) in [fd2ecdc](https://github.com/Jannchie/lite-agent/commit/fd2ecdc)
308
+ - **types**: enhance runner type system for flexible user_input - By [Jannchie](mailto:jannchie@gmail.com) in [3a2e9c5](https://github.com/Jannchie/lite-agent/commit/3a2e9c5)
309
+
310
+ ### :adhesive_bandage: Fixes
311
+
312
+ - **examples**: check content key before modifying messages - By [Jannchie](mailto:jannchie@gmail.com) in [94b85a6](https://github.com/Jannchie/lite-agent/commit/94b85a6)
313
+
314
+ ### :art: Refactors
315
+
316
+ - **agent**: abstract llm client and refactor model usage - By [Jannchie](mailto:jannchie@gmail.com) in [09c52c8](https://github.com/Jannchie/lite-agent/commit/09c52c8)
317
+ - **client**: move llm client classes to separate module - By [Jannchie](mailto:jannchie@gmail.com) in [a70d163](https://github.com/Jannchie/lite-agent/commit/a70d163)
318
+ - **rich-helpers-test**: rename render_chat_history to print_chat_history - By [Jannchie](mailto:jannchie@gmail.com) in [bf1ca8f](https://github.com/Jannchie/lite-agent/commit/bf1ca8f)
319
+
320
+ ### :lipstick: Styles
321
+
322
+ - **agent**: inline error message formatting - By [Jannchie](mailto:jannchie@gmail.com) in [1453cc5](https://github.com/Jannchie/lite-agent/commit/1453cc5)
323
+ - **tests**: add type ignore hints to assertions - By [Jannchie](mailto:jannchie@gmail.com) in [8d2a19d](https://github.com/Jannchie/lite-agent/commit/8d2a19d)
324
+
325
+ ### :memo: Documentation
326
+
327
+ - **set-chat-history**: remove set_chat_history feature documentation - By [Jannchie](mailto:jannchie@gmail.com) in [2413351](https://github.com/Jannchie/lite-agent/commit/2413351)
328
+
329
+ ### :wrench: Chores
330
+
331
+ - **examples**: rename test_consolidate_history to consolidate_history - By [Jannchie](mailto:jannchie@gmail.com) in [0f5b39a](https://github.com/Jannchie/lite-agent/commit/0f5b39a)
332
+ - **tests**: remove legacy chat bubble and alignment tests - By [Jannchie](mailto:jannchie@gmail.com) in [46b23bc](https://github.com/Jannchie/lite-agent/commit/46b23bc)
333
+
334
+ ## v0.2.0
335
+
336
+ [v0.1.0...v0.2.0](https://github.com/Jannchie/lite-agent/compare/v0.1.0...v0.2.0)
337
+
338
+ ### :rocket: Breaking Changes
339
+
340
+ - **agent**: rename stream_async to completion - By [Jannchie](mailto:jannchie@gmail.com) in [dae25cc](https://github.com/Jannchie/lite-agent/commit/dae25cc)
341
+ - **messages**: add support for function call message types and responses format conversion - By [Jannchie](mailto:jannchie@gmail.com) in [9e71ccc](https://github.com/Jannchie/lite-agent/commit/9e71ccc)
342
+ - **project-structure**: rename package to lite-agent && update processor imports - By [Jannchie](mailto:jannchie@gmail.com) in [6e0747a](https://github.com/Jannchie/lite-agent/commit/6e0747a)
343
+ - **runner**: rename run_stream to run throughout codebase - By [Jannchie](mailto:jannchie@gmail.com) in [525865f](https://github.com/Jannchie/lite-agent/commit/525865f)
344
+ - **stream-handler**: rename litellm_raw to completion_raw - By [Jannchie](mailto:jannchie@gmail.com) in [9001f19](https://github.com/Jannchie/lite-agent/commit/9001f19)
345
+ - **types**: remove AgentToolCallMessage usage and definition - By [Jannchie](mailto:jannchie@gmail.com) in [fb3592e](https://github.com/Jannchie/lite-agent/commit/fb3592e)
346
+ - migrate chunk and message types to pydantic models && update runner and processors for model usage - By [Jannchie](mailto:jannchie@gmail.com) in [da0d6fc](https://github.com/Jannchie/lite-agent/commit/da0d6fc)
347
+
348
+ ### :sparkles: Features
349
+
350
+ - **agent**: support dynamic handoff and parent transfer - By [Jannchie](mailto:jannchie@gmail.com) in [5019018](https://github.com/Jannchie/lite-agent/commit/5019018)
351
+ - **agent**: add async tool call handling - By [Jannchie](mailto:jannchie@gmail.com) in [7de9103](https://github.com/Jannchie/lite-agent/commit/7de9103)
352
+ - **context**: add context support for agent and runner - By [Jannchie](mailto:jannchie@gmail.com) in [e4885ee](https://github.com/Jannchie/lite-agent/commit/e4885ee)
353
+ - **handoffs**: support multiple agents and add weather tools - By [Jannchie](mailto:jannchie@gmail.com) in [b9440ea](https://github.com/Jannchie/lite-agent/commit/b9440ea)
354
+ - **handoffs**: add agent handoff and transfer functionality - By [Jannchie](mailto:jannchie@gmail.com) in [7655029](https://github.com/Jannchie/lite-agent/commit/7655029)
355
+ - **message-transfer**: add message_transfer callback support to agent and runner && provide consolidate_history_transfer utility && add tests and usage examples - By [Jannchie](mailto:jannchie@gmail.com) in [16d4788](https://github.com/Jannchie/lite-agent/commit/16d4788)
356
+ - **runner**: add record_to param to run_until_complete - By [Jannchie](mailto:jannchie@gmail.com) in [597bff6](https://github.com/Jannchie/lite-agent/commit/597bff6)
357
+ - **runner**: support chat stream recording and improve sequence typing - By [Jannchie](mailto:jannchie@gmail.com) in [5c1d609](https://github.com/Jannchie/lite-agent/commit/5c1d609)
358
+ - **runner**: add run_continue method and require confirm tool handling - By [Jannchie](mailto:jannchie@gmail.com) in [d130ebc](https://github.com/Jannchie/lite-agent/commit/d130ebc)
359
+ - **testing**: add integration and unit tests for agent and file recording - By [Jannchie](mailto:jannchie@gmail.com) in [e5a58ce](https://github.com/Jannchie/lite-agent/commit/e5a58ce)
360
+ - **tool**: add require_confirmation support for tool calls - By [Jannchie](mailto:panjianqi@preferred.jp) in [69625c8](https://github.com/Jannchie/lite-agent/commit/69625c8)
361
+ - **tool-calls**: add require_confirm chunk type and flow - By [Jannchie](mailto:panjianqi@preferred.jp) in [b2d1654](https://github.com/Jannchie/lite-agent/commit/b2d1654)
362
+ - **types**: add agent message and tool call types - By [Jannchie](mailto:jannchie@gmail.com) in [489e370](https://github.com/Jannchie/lite-agent/commit/489e370)
363
+
364
+ ### :adhesive_bandage: Fixes
365
+
366
+ - **agent**: update tool target to completion - By [Jannchie](mailto:jannchie@gmail.com) in [6c8978c](https://github.com/Jannchie/lite-agent/commit/6c8978c)
367
+ - **examples**: simplify temper agent instructions - By [Jannchie](mailto:jannchie@gmail.com) in [6632092](https://github.com/Jannchie/lite-agent/commit/6632092)
368
+ - **loggers**: update logger name to lite_agent - By [Jannchie](mailto:jannchie@gmail.com) in [b4c59aa](https://github.com/Jannchie/lite-agent/commit/b4c59aa)
369
+ - **types**: change tool_calls from sequence to list - By [Jannchie](mailto:jannchie@gmail.com) in [334c9c0](https://github.com/Jannchie/lite-agent/commit/334c9c0)
370
+
371
+ ### :art: Refactors
372
+
373
+ - **agent**: rename prepare_messages to prepare_completion_messages - By [Jannchie](mailto:jannchie@gmail.com) in [02eeed6](https://github.com/Jannchie/lite-agent/commit/02eeed6)
374
+ - **agent**: remove unused completions to responses converter - By [Jannchie](mailto:jannchie@gmail.com) in [f6432c6](https://github.com/Jannchie/lite-agent/commit/f6432c6)
375
+ - **chunk-handler**: update type annotations and chunk types - By [Jannchie](mailto:panjianqi@preferred.jp) in [f2b95c5](https://github.com/Jannchie/lite-agent/commit/f2b95c5)
376
+ - **chunk-handler**: extract helper functions for chunk processing - By [Jannchie](mailto:jannchie@gmail.com) in [083a164](https://github.com/Jannchie/lite-agent/commit/083a164)
377
+ - **litellm**: extract chunk processing logic to function - By [Jannchie](mailto:jannchie@gmail.com) in [f31e459](https://github.com/Jannchie/lite-agent/commit/f31e459)
378
+ - **litellm-stream**: decouple funcall from stream handler && adjust runner tool call logic - By [Jannchie](mailto:jannchie@gmail.com) in [2747e7e](https://github.com/Jannchie/lite-agent/commit/2747e7e)
379
+ - **rich-channel**: extract rich channel to separate module && clean main - By [Jannchie](mailto:jannchie@gmail.com) in [a8be74d](https://github.com/Jannchie/lite-agent/commit/a8be74d)
380
+ - **runner**: modularize runner methods and simplify message handling - By [Jannchie](mailto:jannchie@gmail.com) in [628a6b5](https://github.com/Jannchie/lite-agent/commit/628a6b5)
381
+ - **tests**: parametrize tool call type tests and clean up redundant cases - By [Jannchie](mailto:jannchie@gmail.com) in [0791582](https://github.com/Jannchie/lite-agent/commit/0791582)
382
+ - **types**: move chunk types to types.py && update type imports - By [Jannchie](mailto:panjianqi@preferred.jp) in [d2ebeec](https://github.com/Jannchie/lite-agent/commit/d2ebeec)
383
+
384
+ ### :lipstick: Styles
385
+
386
+ - **tests**: improve formatting and consistency - By [Jannchie](mailto:jannchie@gmail.com) in [4342aa4](https://github.com/Jannchie/lite-agent/commit/4342aa4)
387
+
388
+ ### :memo: Documentation
389
+
390
+ - add initial project readme - By [Jannchie](mailto:panjianqi@preferred.jp) in [f04ec7a](https://github.com/Jannchie/lite-agent/commit/f04ec7a)
391
+
392
+ ### :wrench: Chores
393
+
394
+ - **ci**: switch to uv for dependency management and update to python 3.12 - By [Jannchie](mailto:panjianqi@preferred.jp) in [64d3085](https://github.com/Jannchie/lite-agent/commit/64d3085)
395
+ - **ci**: add github actions workflow - By [Jannchie](mailto:panjianqi@preferred.jp) in [051be1b](https://github.com/Jannchie/lite-agent/commit/051be1b)
396
+ - **deps**: update lock file - By [Jannchie](mailto:jannchie@gmail.com) in [9aa1e77](https://github.com/Jannchie/lite-agent/commit/9aa1e77)
397
+ - **metadata**: rename project and reformat keywords array - By [Jannchie](mailto:jannchie@gmail.com) in [2659c4d](https://github.com/Jannchie/lite-agent/commit/2659c4d)
398
+ - **metadata**: update ai topic classifier - By [Jannchie](mailto:jannchie@gmail.com) in [15d46ea](https://github.com/Jannchie/lite-agent/commit/15d46ea)
399
+ - **rename**: rename project name - By [Jannchie](mailto:jannchie@gmail.com) in [84077a8](https://github.com/Jannchie/lite-agent/commit/84077a8)
400
+
401
+ ## v0.1.0
402
+
403
+ [5859f296f4aa3bf9156e560e5bbd98b3d8795b0d...v0.1.0](https://github.com/Jannchie/lite-agent/compare/5859f296f4aa3bf9156e560e5bbd98b3d8795b0d...v0.1.0)
404
+
405
+ ### :sparkles: Features
406
+
407
+ - **chunk-handler**: add content-delta and tool-call-delta chunk types && update includes list in runner - By [Jannchie](mailto:jannchie@gmail.com) in [a3ba7d1](https://github.com/Jannchie/lite-agent/commit/a3ba7d1)
408
+ - **easy_agent**: add prompt toolkit dependency && update agent to use prompt session && improve chunk handling - By [Jannchie](mailto:jannchie@gmail.com) in [b408c14](https://github.com/Jannchie/lite-agent/commit/b408c14)
409
+
410
+ ### :art: Refactors
411
+
412
+ - **main**: remove datetime imports and usage && add input validator - By [Jannchie](mailto:jannchie@gmail.com) in [eab45b3](https://github.com/Jannchie/lite-agent/commit/eab45b3)
413
+
414
+ ### :wrench: Chores
415
+
416
+ - **import**: remove unused json tool import - By [Jannchie](mailto:jannchie@gmail.com) in [8de5975](https://github.com/Jannchie/lite-agent/commit/8de5975)
417
+ - **lock**: update lock file - By [Jannchie](mailto:jannchie@gmail.com) in [64880d3](https://github.com/Jannchie/lite-agent/commit/64880d3)
418
+ - **pyproject**: update version && improve description && expand keywords && add classifiers - By [Jannchie](mailto:jannchie@gmail.com) in [c3e8ee6](https://github.com/Jannchie/lite-agent/commit/c3e8ee6)