goose-py 0.11.0__tar.gz → 0.11.1__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.
- {goose_py-0.11.0 → goose_py-0.11.1}/PKG-INFO +2 -2
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/agent.py +9 -10
- {goose_py-0.11.0 → goose_py-0.11.1}/pyproject.toml +2 -2
- {goose_py-0.11.0 → goose_py-0.11.1}/uv.lock +9 -8
- {goose_py-0.11.0 → goose_py-0.11.1}/.envrc +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/.github/workflows/publish.yml +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/.gitignore +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/.python-version +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/.stubs/jsonpath_ng/__init__.pyi +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/Makefile +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/README.md +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/__init__.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/conversation.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/flow.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/result.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/state.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/store.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/task.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/types/__init__.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/_internal/types/telemetry.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/errors.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/flow.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/py.typed +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/runs.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/goose/task.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/__init__.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_agent.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_ask.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_downstream_task.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_hashing.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_looping.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_refining.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_regenerate.py +0 -0
- {goose_py-0.11.0 → goose_py-0.11.1}/tests/test_state.py +0 -0
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: goose-py
|
3
|
-
Version: 0.11.
|
3
|
+
Version: 0.11.1
|
4
4
|
Summary: A tool for AI workflows based on human-computer collaboration and structured output.
|
5
5
|
Author-email: Nash Taylor <nash@chelle.ai>, Joshua Cook <joshua@chelle.ai>, Michael Sankur <michael@chelle.ai>
|
6
6
|
Requires-Python: >=3.12
|
7
|
-
Requires-Dist: aikernel>=0.1.
|
7
|
+
Requires-Dist: aikernel>=0.1.8
|
8
8
|
Requires-Dist: jsonpath-ng>=1.7.0
|
9
9
|
Requires-Dist: pydantic>=2.8.2
|
10
10
|
Description-Content-Type: text/markdown
|
@@ -9,7 +9,6 @@ from aikernel import (
|
|
9
9
|
LLMUserMessage,
|
10
10
|
llm_structured,
|
11
11
|
llm_unstructured,
|
12
|
-
render_message,
|
13
12
|
)
|
14
13
|
from pydantic import ValidationError
|
15
14
|
|
@@ -54,11 +53,11 @@ class Agent:
|
|
54
53
|
end_time = datetime.now()
|
55
54
|
|
56
55
|
if isinstance(messages[0], LLMSystemMessage):
|
57
|
-
system =
|
58
|
-
input_messages = [
|
56
|
+
system = messages[0].render()
|
57
|
+
input_messages = [message.render() for message in messages[1:]]
|
59
58
|
else:
|
60
59
|
system = None
|
61
|
-
input_messages = [
|
60
|
+
input_messages = [message.render() for message in messages]
|
62
61
|
|
63
62
|
agent_response = AgentResponse(
|
64
63
|
response=parsed_response,
|
@@ -93,11 +92,11 @@ class Agent:
|
|
93
92
|
end_time = datetime.now()
|
94
93
|
|
95
94
|
if isinstance(messages[0], LLMSystemMessage):
|
96
|
-
system =
|
97
|
-
input_messages = [
|
95
|
+
system = messages[0].render()
|
96
|
+
input_messages = [message.render() for message in messages[1:]]
|
98
97
|
else:
|
99
98
|
system = None
|
100
|
-
input_messages = [
|
99
|
+
input_messages = [message.render() for message in messages]
|
101
100
|
|
102
101
|
agent_response = AgentResponse(
|
103
102
|
response=response.text,
|
@@ -134,11 +133,11 @@ class Agent:
|
|
134
133
|
end_time = datetime.now()
|
135
134
|
|
136
135
|
if isinstance(messages[0], LLMSystemMessage):
|
137
|
-
system =
|
138
|
-
input_messages = [
|
136
|
+
system = messages[0].render()
|
137
|
+
input_messages = [message.render() for message in messages[1:]]
|
139
138
|
else:
|
140
139
|
system = None
|
141
|
-
input_messages = [
|
140
|
+
input_messages = [message.render() for message in messages]
|
142
141
|
|
143
142
|
agent_response = AgentResponse(
|
144
143
|
response=parsed_find_replace_response,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "goose-py"
|
3
|
-
version = "0.11.
|
3
|
+
version = "0.11.1"
|
4
4
|
description = "A tool for AI workflows based on human-computer collaboration and structured output."
|
5
5
|
readme = "README.md"
|
6
6
|
authors = [
|
@@ -11,7 +11,7 @@ authors = [
|
|
11
11
|
requires-python = ">=3.12"
|
12
12
|
dependencies = [
|
13
13
|
"jsonpath-ng>=1.7.0",
|
14
|
-
"aikernel>=0.1.
|
14
|
+
"aikernel>=0.1.8",
|
15
15
|
"pydantic>=2.8.2",
|
16
16
|
]
|
17
17
|
|
@@ -3,15 +3,16 @@ requires-python = ">=3.12"
|
|
3
3
|
|
4
4
|
[[package]]
|
5
5
|
name = "aikernel"
|
6
|
-
version = "0.1.
|
6
|
+
version = "0.1.8"
|
7
7
|
source = { registry = "https://pypi.org/simple" }
|
8
8
|
dependencies = [
|
9
9
|
{ name = "litellm" },
|
10
|
+
{ name = "openai" },
|
10
11
|
{ name = "pydantic" },
|
11
12
|
]
|
12
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
13
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d7/3e/269f9c9c093260d3d25c5af853134c65fea6159766e5c8b7d66f305f4076/aikernel-0.1.8.tar.gz", hash = "sha256:8df48eef50882d6d375cc37d65720c80efe7c7e5ae73a10e5a5a302cea255da0", size = 70364 }
|
13
14
|
wheels = [
|
14
|
-
{ url = "https://files.pythonhosted.org/packages/
|
15
|
+
{ url = "https://files.pythonhosted.org/packages/a8/55/b8ed6f5f83e7b1cb79e676ca106a618a1be15eba9886f9f1699cd8d9ef90/aikernel-0.1.8-py3-none-any.whl", hash = "sha256:673a4b454d0d98b0c786c43c5ce53ae18573851692b1a5c7ca82bda7314a09e2", size = 6992 },
|
15
16
|
]
|
16
17
|
|
17
18
|
[[package]]
|
@@ -345,7 +346,7 @@ wheels = [
|
|
345
346
|
|
346
347
|
[[package]]
|
347
348
|
name = "goose-py"
|
348
|
-
version = "0.11.
|
349
|
+
version = "0.11.1"
|
349
350
|
source = { editable = "." }
|
350
351
|
dependencies = [
|
351
352
|
{ name = "aikernel" },
|
@@ -365,7 +366,7 @@ dev = [
|
|
365
366
|
|
366
367
|
[package.metadata]
|
367
368
|
requires-dist = [
|
368
|
-
{ name = "aikernel", specifier = ">=0.1.
|
369
|
+
{ name = "aikernel", specifier = ">=0.1.8" },
|
369
370
|
{ name = "jsonpath-ng", specifier = ">=1.7.0" },
|
370
371
|
{ name = "pydantic", specifier = ">=2.8.2" },
|
371
372
|
]
|
@@ -653,7 +654,7 @@ wheels = [
|
|
653
654
|
|
654
655
|
[[package]]
|
655
656
|
name = "litellm"
|
656
|
-
version = "1.
|
657
|
+
version = "1.63.2"
|
657
658
|
source = { registry = "https://pypi.org/simple" }
|
658
659
|
dependencies = [
|
659
660
|
{ name = "aiohttp" },
|
@@ -668,9 +669,9 @@ dependencies = [
|
|
668
669
|
{ name = "tiktoken" },
|
669
670
|
{ name = "tokenizers" },
|
670
671
|
]
|
671
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
672
|
+
sdist = { url = "https://files.pythonhosted.org/packages/6a/78/ff6d5439168bce504fb28bad1bc6f596dd76fbfacbc330367a1c08a250a7/litellm-1.63.2.tar.gz", hash = "sha256:cf9ab581198a12a5584571e0b2ad83869c7621684936ed26d7bf59015d0a8d2b", size = 6587491 }
|
672
673
|
wheels = [
|
673
|
-
{ url = "https://files.pythonhosted.org/packages/
|
674
|
+
{ url = "https://files.pythonhosted.org/packages/d9/50/5b8a1ad1ca3851b979b2fbd1a66d6f458dc5edd478101a06a8becff1df2d/litellm-1.63.2-py3-none-any.whl", hash = "sha256:1224e15b351a0f194bd5d908ccf4ff5d0e16b583f120519a5e68158bd44da071", size = 6898192 },
|
674
675
|
]
|
675
676
|
|
676
677
|
[[package]]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|