agentic-blocks 0.1.15__tar.gz → 0.1.16__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.
- {agentic_blocks-0.1.15/src/agentic_blocks.egg-info → agentic_blocks-0.1.16}/PKG-INFO +1 -1
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/pyproject.toml +1 -1
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks/utils/tools_utils.py +12 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16/src/agentic_blocks.egg-info}/PKG-INFO +1 -1
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/LICENSE +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/README.md +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/setup.cfg +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks/__init__.py +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks/llm.py +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks/mcp_client.py +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks/messages.py +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks.egg-info/SOURCES.txt +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks.egg-info/dependency_links.txt +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks.egg-info/requires.txt +0 -0
- {agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks.egg-info/top_level.txt +0 -0
@@ -14,7 +14,7 @@ agentic_blocks = []
|
|
14
14
|
|
15
15
|
[project]
|
16
16
|
name = "agentic-blocks"
|
17
|
-
version = "0.1.
|
17
|
+
version = "0.1.16"
|
18
18
|
description = "Simple building blocks for agentic AI systems with MCP client and conversation management"
|
19
19
|
readme = "README.md"
|
20
20
|
requires-python = ">=3.11"
|
@@ -2,6 +2,7 @@
|
|
2
2
|
Utilities for working with tools across different formats.
|
3
3
|
"""
|
4
4
|
|
5
|
+
import json
|
5
6
|
from typing import Dict, Any, List
|
6
7
|
|
7
8
|
|
@@ -206,3 +207,14 @@ def execute_and_add_tool_responses(
|
|
206
207
|
messages.add_tool_responses(results)
|
207
208
|
|
208
209
|
return results
|
210
|
+
|
211
|
+
|
212
|
+
def print_tool(tool) -> None:
|
213
|
+
"""
|
214
|
+
Print a single LangChain tool in OpenAI format in a readable JSON structure.
|
215
|
+
|
216
|
+
Args:
|
217
|
+
tool: A langchain_core.tools.structured.StructuredTool instance
|
218
|
+
"""
|
219
|
+
openai_tool = langchain_tool_to_openai_format(tool)
|
220
|
+
print(json.dumps(openai_tool, indent=2))
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{agentic_blocks-0.1.15 → agentic_blocks-0.1.16}/src/agentic_blocks.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|