Skip to content
Closed
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
9 changes: 6 additions & 3 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ description = "kagent is a tool for building and deploying agent-based applicati
readme = "README.md"
requires-python = ">=3.12.11"
dependencies = [
"autogen-core @ git+https://github.com/Microsoft/autogen@c5b893d3f814185c326c8ff95767d2375d95818d#subdirectory=python/packages/autogen-core",
"autogen-agentchat @ git+https://github.com/Microsoft/autogen@c5b893d3f814185c326c8ff95767d2375d95818d#subdirectory=python/packages/autogen-agentchat",
"autogen-ext[anthropic,azure,mcp,ollama,openai] @ git+https://github.com/Microsoft/autogen@c5b893d3f814185c326c8ff95767d2375d95818d#subdirectory=python/packages/autogen-ext",
"autogen-core @ git+https://github.com/Microsoft/autogen@1ca7419213027c548eb340b2eb08f3032993e78b#subdirectory=python/packages/autogen-core",
"autogen-agentchat @ git+https://github.com/Microsoft/autogen@1ca7419213027c548eb340b2eb08f3032993e78b#subdirectory=python/packages/autogen-agentchat",
"autogen-ext[anthropic,azure,mcp,ollama,openai] @ git+https://github.com/Microsoft/autogen@1ca7419213027c548eb340b2eb08f3032993e78b#subdirectory=python/packages/autogen-ext",
"openai>=1.72.0",
"tiktoken==0.8.0",
"python-dotenv>=1.1.0",
Expand Down Expand Up @@ -91,6 +91,9 @@ tool_gen = "kagent.tools.utils.tool_gen:main"

[tool.uv.sources]
kagent = { workspace = true }
autogen-agentchat = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-agentchat", rev = "1ca7419213027c548eb340b2eb08f3032993e78b" }
autogen-core = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-core", rev = "1ca7419213027c548eb340b2eb08f3032993e78b" }
autogen-ext = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-ext", rev = "1ca7419213027c548eb340b2eb08f3032993e78b" }
Comment on lines 92 to +96
Copy link

Copilot AI Jul 30, 2025

Choose a reason for hiding this comment

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

The git commit hash is duplicated across multiple entries. Consider defining it as a variable or constant to reduce duplication and make future updates easier.

Suggested change
[tool.uv.sources]
kagent = { workspace = true }
autogen-agentchat = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-agentchat", rev = "1ca7419213027c548eb340b2eb08f3032993e78b" }
autogen-core = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-core", rev = "1ca7419213027c548eb340b2eb08f3032993e78b" }
autogen-ext = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-ext", rev = "1ca7419213027c548eb340b2eb08f3032993e78b" }
[tool.constants]
commit_hash = "1ca7419213027c548eb340b2eb08f3032993e78b"
[tool.uv.sources]
kagent = { workspace = true }
autogen-agentchat = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-agentchat", rev = tool.constants.commit_hash }
autogen-core = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-core", rev = tool.constants.commit_hash }
autogen-ext = { git = "https://github.com/Microsoft/autogen", subdirectory = "python/packages/autogen-ext", rev = tool.constants.commit_hash }

Copilot uses AI. Check for mistakes.

[tool.ruff]
line-length = 120
Expand Down
30 changes: 15 additions & 15 deletions python/uv.lock

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