goose-py 0.9.6__tar.gz → 0.9.7__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.9.6 → goose_py-0.9.7}/PKG-INFO +1 -1
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/agent.py +2 -7
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/conversation.py +2 -2
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/flow.py +6 -6
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/state.py +4 -4
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/store.py +1 -1
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/task.py +6 -6
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/agent.py +2 -2
- goose_py-0.9.7/goose/flow.py +3 -0
- goose_py-0.9.7/goose/runs.py +4 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/pyproject.toml +1 -1
- {goose_py-0.9.6 → goose_py-0.9.7}/uv.lock +1 -1
- goose_py-0.9.6/goose/flow.py +0 -3
- goose_py-0.9.6/goose/runs.py +0 -4
- {goose_py-0.9.6 → goose_py-0.9.7}/.envrc +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/.github/workflows/publish.yml +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/.gitignore +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/.python-version +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/.stubs/jsonpath_ng/__init__.pyi +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/.stubs/litellm/__init__.pyi +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/Makefile +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/README.md +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/__init__.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/result.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/types/__init__.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/_internal/types/agent.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/errors.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/goose/py.typed +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/__init__.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/test_agent.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/test_downstream_task.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/test_hashing.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/test_looping.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/test_refining.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/test_regenerate.py +0 -0
- {goose_py-0.9.6 → goose_py-0.9.7}/tests/test_state.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: goose-py
|
3
|
-
Version: 0.9.
|
3
|
+
Version: 0.9.7
|
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
|
@@ -6,13 +6,8 @@ from typing import Any, ClassVar, Protocol, TypedDict
|
|
6
6
|
from litellm import acompletion
|
7
7
|
from pydantic import BaseModel, computed_field
|
8
8
|
|
9
|
-
from
|
10
|
-
from
|
11
|
-
AssistantMessage,
|
12
|
-
GeminiModel,
|
13
|
-
SystemMessage,
|
14
|
-
UserMessage,
|
15
|
-
)
|
9
|
+
from .result import Result, TextResult
|
10
|
+
from .types.agent import AssistantMessage, GeminiModel, SystemMessage, UserMessage
|
16
11
|
|
17
12
|
|
18
13
|
class AgentResponseDump(TypedDict):
|
@@ -2,8 +2,8 @@ from typing import Self
|
|
2
2
|
|
3
3
|
from pydantic import BaseModel
|
4
4
|
|
5
|
-
from
|
6
|
-
from
|
5
|
+
from .result import Result
|
6
|
+
from .types.agent import AssistantMessage, LLMMessage, SystemMessage, UserMessage
|
7
7
|
|
8
8
|
|
9
9
|
class Conversation[R: Result](BaseModel):
|
@@ -3,12 +3,12 @@ from contextlib import asynccontextmanager
|
|
3
3
|
from types import CodeType
|
4
4
|
from typing import Protocol, overload
|
5
5
|
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
6
|
+
from ..errors import Honk
|
7
|
+
from .agent import Agent, IAgentLogger
|
8
|
+
from .conversation import Conversation
|
9
|
+
from .result import Result
|
10
|
+
from .state import FlowArguments, FlowRun, get_current_flow_run, set_current_flow_run
|
11
|
+
from .store import IFlowRunStore, InMemoryFlowRunStore
|
12
12
|
|
13
13
|
|
14
14
|
class IGenerator[FlowArgumentsT: FlowArguments](Protocol):
|
@@ -4,15 +4,15 @@ from typing import TYPE_CHECKING, Any, NewType, Self
|
|
4
4
|
|
5
5
|
from pydantic import BaseModel, ConfigDict
|
6
6
|
|
7
|
-
from
|
7
|
+
from ..errors import Honk
|
8
|
+
from .agent import (
|
8
9
|
Agent,
|
9
10
|
IAgentLogger,
|
10
11
|
SystemMessage,
|
11
12
|
UserMessage,
|
12
13
|
)
|
13
|
-
from
|
14
|
-
from
|
15
|
-
from goose.errors import Honk
|
14
|
+
from .conversation import Conversation
|
15
|
+
from .result import Result
|
16
16
|
|
17
17
|
if TYPE_CHECKING:
|
18
18
|
from goose._internal.task import Task
|
@@ -4,12 +4,12 @@ from typing import Any, overload
|
|
4
4
|
|
5
5
|
from pydantic import BaseModel
|
6
6
|
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
12
|
-
from
|
7
|
+
from ..errors import Honk
|
8
|
+
from .agent import Agent, GeminiModel, SystemMessage, UserMessage
|
9
|
+
from .conversation import Conversation
|
10
|
+
from .result import Result, TextResult
|
11
|
+
from .state import FlowRun, NodeState, get_current_flow_run
|
12
|
+
from .types.agent import AssistantMessage
|
13
13
|
|
14
14
|
|
15
15
|
class Task[**P, R: Result]:
|
goose_py-0.9.6/goose/flow.py
DELETED
goose_py-0.9.6/goose/runs.py
DELETED
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
|