mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
fix(skill): correct SDK pin and formatting
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ dependencies = [
|
||||
"langchain-text-splitters>=1.1.2",
|
||||
"chromadb>=1.0.0,<2.0.0",
|
||||
"qdrant-client (>=1.15.1,<2.0.0)",
|
||||
"langbot-plugin @ git+https://github.com/langbot-app/langbot-plugin-sdk.git@1114622b8f2ba57bfed0eae09ec64332d19faaf3",
|
||||
"langbot-plugin @ git+https://github.com/langbot-app/langbot-plugin-sdk.git@11146221397008de1a30c344d2744564ba800378",
|
||||
"asyncpg>=0.30.0",
|
||||
"line-bot-sdk>=3.19.0",
|
||||
"matrix-nio>=0.25.2",
|
||||
|
||||
@@ -168,10 +168,7 @@ class SkillToolLoader(loader.ToolLoader):
|
||||
catalog = await self.ap.skill_repository.list_skills(self._execution_context(query))
|
||||
if bound_names is not None:
|
||||
allowed = set(bound_names)
|
||||
catalog = [
|
||||
item for item in catalog
|
||||
if isinstance(item, dict) and item.get('name') in allowed
|
||||
]
|
||||
catalog = [item for item in catalog if isinstance(item, dict) and item.get('name') in allowed]
|
||||
return {
|
||||
'skills': [
|
||||
{field: item[field] for field in _SKILL_CATALOG_FIELDS if field in item}
|
||||
|
||||
@@ -2241,7 +2241,7 @@ requires-dist = [
|
||||
{ name = "gewechat-client", specifier = ">=0.1.5" },
|
||||
{ name = "html2text", specifier = ">=2024.2.26" },
|
||||
{ name = "httpx", extras = ["socks"], specifier = ">=0.28.1" },
|
||||
{ name = "langbot-plugin", git = "https://github.com/langbot-app/langbot-plugin-sdk.git?rev=1114622b8f2ba57bfed0eae09ec64332d19faaf3" },
|
||||
{ name = "langbot-plugin", git = "https://github.com/langbot-app/langbot-plugin-sdk.git?rev=11146221397008de1a30c344d2744564ba800378" },
|
||||
{ name = "langchain", specifier = ">=1.3.9" },
|
||||
{ name = "langchain-core", specifier = ">=1.3.3" },
|
||||
{ name = "langchain-text-splitters", specifier = ">=1.1.2" },
|
||||
@@ -2312,7 +2312,7 @@ dev = [
|
||||
[[package]]
|
||||
name = "langbot-plugin"
|
||||
version = "0.7.16"
|
||||
source = { git = "https://github.com/langbot-app/langbot-plugin-sdk.git?rev=1114622b8f2ba57bfed0eae09ec64332d19faaf3#1114622b8f2ba57bfed0eae09ec64332d19faaf3" }
|
||||
source = { git = "https://github.com/langbot-app/langbot-plugin-sdk.git?rev=11146221397008de1a30c344d2744564ba800378#11146221397008de1a30c344d2744564ba800378" }
|
||||
dependencies = [
|
||||
{ name = "aiofiles" },
|
||||
{ name = "aiohttp" },
|
||||
|
||||
Reference in New Issue
Block a user