agent-framework-github-copilot 2.0.2__tar.gz → 2.1.0__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.
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/PKG-INFO +5 -3
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/agent_framework_github_copilot/_agent.py +10 -2
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/pyproject.toml +4 -3
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/LICENSE +0 -0
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/README.md +0 -0
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/agent_framework_github_copilot/__init__.py +0 -0
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/agent_framework_github_copilot/_feature_usage.py +0 -0
- {agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/agent_framework_github_copilot/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: agent-framework-github-copilot
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: GitHub Copilot integration for Microsoft Agent Framework.
|
|
5
5
|
Author-email: Microsoft <af-support@microsoft.com>
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -13,14 +13,16 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
16
17
|
Classifier: Typing :: Typed
|
|
17
18
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: agent-framework-core>=1.
|
|
19
|
+
Requires-Dist: agent-framework-core>=1.22.0,<2
|
|
19
20
|
Requires-Dist: github-copilot-sdk>=1.0.16,<2.0; python_version >= '3.11'
|
|
20
21
|
Project-URL: homepage, https://aka.ms/agent-framework
|
|
21
22
|
Project-URL: issues, https://github.com/microsoft/agent-framework/issues
|
|
22
23
|
Project-URL: release_notes, https://github.com/microsoft/agent-framework/releases?q=tag%3Apython-1&expanded=true
|
|
23
24
|
Project-URL: source, https://github.com/microsoft/agent-framework/tree/main/python
|
|
25
|
+
Import-Name: agent_framework_github_copilot
|
|
24
26
|
|
|
25
27
|
# Get Started with Microsoft Agent Framework GitHub Copilot
|
|
26
28
|
|
|
@@ -1147,7 +1147,7 @@ class RawGitHubCopilotAgent(BaseAgent, Generic[OptionsT]):
|
|
|
1147
1147
|
if data.delta_content:
|
|
1148
1148
|
update = AgentResponseUpdate(
|
|
1149
1149
|
role="assistant",
|
|
1150
|
-
contents=[Content.from_text(data.delta_content)],
|
|
1150
|
+
contents=[Content.from_text(data.delta_content, merge_mode="append")],
|
|
1151
1151
|
response_id=data.message_id,
|
|
1152
1152
|
message_id=data.message_id,
|
|
1153
1153
|
raw_representation=event,
|
|
@@ -1165,7 +1165,13 @@ class RawGitHubCopilotAgent(BaseAgent, Generic[OptionsT]):
|
|
|
1165
1165
|
model = event.data.model or None
|
|
1166
1166
|
if usage_details or finish_reason or model:
|
|
1167
1167
|
update = AgentResponseUpdate(
|
|
1168
|
-
contents=[
|
|
1168
|
+
contents=[
|
|
1169
|
+
Content.from_usage(
|
|
1170
|
+
usage_details,
|
|
1171
|
+
merge_mode="replace",
|
|
1172
|
+
raw_representation=event.data,
|
|
1173
|
+
)
|
|
1174
|
+
]
|
|
1169
1175
|
if usage_details
|
|
1170
1176
|
else None,
|
|
1171
1177
|
finish_reason=cast(Any, finish_reason),
|
|
@@ -1181,6 +1187,8 @@ class RawGitHubCopilotAgent(BaseAgent, Generic[OptionsT]):
|
|
|
1181
1187
|
call_id=tool_call_id,
|
|
1182
1188
|
name=tool_name,
|
|
1183
1189
|
arguments=arguments,
|
|
1190
|
+
hosted=True,
|
|
1191
|
+
merge_mode="replace",
|
|
1184
1192
|
raw_representation=event.data,
|
|
1185
1193
|
)
|
|
1186
1194
|
update = AgentResponseUpdate(
|
{agent_framework_github_copilot-2.0.2 → agent_framework_github_copilot-2.1.0}/pyproject.toml
RENAMED
|
@@ -4,7 +4,7 @@ description = "GitHub Copilot integration for Microsoft Agent Framework."
|
|
|
4
4
|
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
7
|
-
version = "2.0
|
|
7
|
+
version = "2.1.0"
|
|
8
8
|
license-files = ["LICENSE"]
|
|
9
9
|
urls.homepage = "https://aka.ms/agent-framework"
|
|
10
10
|
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
|
|
@@ -19,10 +19,11 @@ classifiers = [
|
|
|
19
19
|
"Programming Language :: Python :: 3.12",
|
|
20
20
|
"Programming Language :: Python :: 3.13",
|
|
21
21
|
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Programming Language :: Python :: 3.15",
|
|
22
23
|
"Typing :: Typed",
|
|
23
24
|
]
|
|
24
25
|
dependencies = [
|
|
25
|
-
"agent-framework-core>=1.
|
|
26
|
+
"agent-framework-core>=1.22.0,<2",
|
|
26
27
|
"github-copilot-sdk>=1.0.16,<2.0; python_version >= '3.11'",
|
|
27
28
|
]
|
|
28
29
|
|
|
@@ -99,5 +100,5 @@ shell = "python -c \"import sys; exit(0 if sys.version_info < (3,11) else 1)\" |
|
|
|
99
100
|
interpreter = "posix"
|
|
100
101
|
|
|
101
102
|
[build-system]
|
|
102
|
-
requires = ["flit-core
|
|
103
|
+
requires = ["flit-core>=3.11,<5.0"]
|
|
103
104
|
build-backend = "flit_core.buildapi"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|