patchpal 0.22.6__tar.gz → 0.22.7__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.
- {patchpal-0.22.6/patchpal.egg-info → patchpal-0.22.7}/PKG-INFO +1 -1
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/__init__.py +1 -1
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/cli/interactive.py +1 -0
- {patchpal-0.22.6 → patchpal-0.22.7/patchpal.egg-info}/PKG-INFO +1 -1
- {patchpal-0.22.6 → patchpal-0.22.7}/LICENSE +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/MANIFEST.in +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/README.md +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/agent/__init__.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/agent/function_calling.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/agent/react.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/cli/__init__.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/cli/autopilot.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/cli/mcp.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/cli/sandbox.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/cli/streaming.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/config.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/context.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/permissions.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/prompts/react_prompt.md +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/prompts/system_prompt.md +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/skills.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/__init__.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/audit.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/code_analysis.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/common.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/definitions.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/file_reading.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/file_writing.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/find_tool.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/grep_tool.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/image_handler.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/mcp.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/repo_map.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/shell_tools.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/todo_tools.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/tool_schema.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/user_interaction.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal/tools/web_tools.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal.egg-info/SOURCES.txt +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal.egg-info/dependency_links.txt +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal.egg-info/entry_points.txt +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal.egg-info/requires.txt +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/patchpal.egg-info/top_level.txt +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/pyproject.toml +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/setup.cfg +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_agent.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_cli.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_config_dynamic.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_context.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_custom_tools.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_enabled_tools.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_find_tool.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_guardrails.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_image_blocking.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_maximum_security.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_mcp_config.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_memory.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_operational_safety.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_optional_tools.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_permissions.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_react.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_reasoning_content.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_repo_map.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_simplified_prompt.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_skills.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_streaming.py +0 -0
- {patchpal-0.22.6 → patchpal-0.22.7}/tests/test_tools.py +0 -0
|
@@ -925,6 +925,7 @@ Supported models: Any LiteLLM-supported model
|
|
|
925
925
|
# Clear conversation history
|
|
926
926
|
agent.messages = []
|
|
927
927
|
agent._last_compaction_message_count = 0
|
|
928
|
+
agent.last_prompt_tokens = None # Reset stale token count from before clear
|
|
928
929
|
|
|
929
930
|
print("\n\033[1;32m✓ Context cleared successfully!\033[0m")
|
|
930
931
|
print(" Starting fresh with empty conversation history.")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|