Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion agents/deepagents_content_builder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ dependencies = [
"deepagents>=0.3.5",
"google-genai>=1.0.0",
"langchain-openai>=1.1.7",
"numba>=0.63.1",
"pillow>=10.0.0",
"pyyaml>=6.0.0",
"rich>=13.0.0",
"tavily-python>=0.5.0",
"wcmatch>=10.1"
"wcmatch>=10.1",
]

[dependency-groups]
Expand Down
15 changes: 15 additions & 0 deletions agents/deepagents_content_builder/src/content_builder/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,21 @@
CURRENT_DIRECTORY = Path(__file__).parent


@server.agent(name="My Agent")
async def my_agent(
message: Message,
context: RunContext,
llm: Annotated[
LLMServiceExtensionServer,
LLMServiceExtensionSpec(),
],
file_system: Annotated[FileSystemExtensionServer, FileSystemExtensionSpec()],
):
with file_system.open("/remote/data/myfile.csv") as f:
df = pd.read_csv(f, sep="|", header=None)
yield df.text()
Comment on lines +67 to +68
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

There are two issues in this snippet:

  1. The pd alias is used but pandas is not imported in this file.
  2. pandas.DataFrame does not have a text() method. You likely intended to use df.to_string() or access a specific column.



@server.agent(
name="Content Creator Agent (Deepagents)",
documentation_url=f"https://github.com/i-am-bee/agentstack/blob/{os.getenv('RELEASE_VERSION', 'main')}/agents/deepagents_content_builder",
Expand Down
146 changes: 146 additions & 0 deletions agents/deepagents_content_builder/uv.lock

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions apps/agentstack-cli/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 8 additions & 11 deletions apps/agentstack-sdk-py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agentstack-sdk"
version = "0.6.3"
version = "0.6.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The version of agentstack-sdk is being downgraded from 0.6.3 to 0.6.1. This appears to be an accidental regression and should be corrected to reflect the next version.

description = "Agent Stack SDK"
readme = "README.md"
authors = [{ name = "IBM Corp." }]
Expand All @@ -25,15 +25,13 @@ dependencies = [
"authlib>=1.3.0",
"async-lru>=2.0.4",
"cachetools>=6.2.3",
"typing-extensions>=4.15.0",
"opentelemetry-instrumentation-httpx>=0.60b1",
"opentelemetry-instrumentation-openai>=0.52.3",
"fsspec>=2024.9.0",
]

[dependency-groups]
dev = [
"beeai-framework[duckduckgo,wikipedia]>=0.1.76",
"pyrefly>=0.52.0",
"pyright>=1.1.403",
"pytest>=8.4.1",
"pytest-asyncio>=1.1.0",
"pytest-httpx>=0.35.0",
Expand Down Expand Up @@ -67,7 +65,7 @@ lint.select = [
lint.ignore = [
"E501", # line lenght (annyoing)
"N999", # invalid module name agentstack-server (yeah, we use a dash, deal with it)
"F403", # redundant with type checking
"F403", # redundant with Pyright
]
force-exclude = true

Expand All @@ -77,8 +75,7 @@ asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-v"

[tool.pyrefly]
project-includes = [
"**/*.py*",
"**/*.ipynb",
]
[tool.pyright]
ignore = ["tests/**", "examples/cli.py"]
venvPath = "."
venv = ".venv"
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

from .embedding import *
from .filesystem import *
from .form import *
from .llm import *
from .mcp import *
Expand Down
Loading
Loading