feat: migliora gestione errori con suggerimenti contextuali
- Aggiunge config_manager a load_model_from_config() per usare config attive - Migliora error handling con tipo eccezione e suggerimenti - Aggiunge pyproject.toml e setup.py per installazione pip
This commit is contained in:
1 parent
4de50a1712
commit
b25aa8fbad
4 files changed
+140
-5
No files matched your search
@@ -0,0 +1,48 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "langcode-agent"
|
||||
version = "1.0.0"
|
||||
description = "AI Agent harness based on LangChain Deep Agents with memory, planning and MCP support"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
license = {text = "MIT"}
|
||||
authors = [
|
||||
{name = "LangCode Team"}
|
||||
]
|
||||
keywords = ["ai", "agent", "langchain", "ollama", "mcp"]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"deepagents>=0.0.34",
|
||||
"langchain>=0.3.0",
|
||||
"langchain-community>=0.3.0",
|
||||
"langchain-openai>=0.1.0",
|
||||
"cryptography>=41.0.0",
|
||||
"requests>=2.31.0",
|
||||
"pyyaml>=6.0",
|
||||
"fastapi>=0.104.0",
|
||||
"uvicorn>=0.24.0",
|
||||
"pydantic>=2.5.0",
|
||||
"pytest>=7.4.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
langcode = "langcode:main"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "http://192.168.0.183:8085/truetype/langcode_agent"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["*"]
|
||||
Reference in new issue
Block a user