praisonaiagents 0.0.144__py3-none-any.whl → 0.0.145__py3-none-any.whl
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.
- praisonaiagents/__init__.py +3 -0
- praisonaiagents/agent/__init__.py +2 -1
- praisonaiagents/agent/context_agent.py +2315 -0
- praisonaiagents/agents/agents.py +30 -12
- praisonaiagents/knowledge/knowledge.py +9 -1
- praisonaiagents/memory/memory.py +39 -15
- praisonaiagents/task/task.py +7 -6
- {praisonaiagents-0.0.144.dist-info → praisonaiagents-0.0.145.dist-info}/METADATA +1 -1
- {praisonaiagents-0.0.144.dist-info → praisonaiagents-0.0.145.dist-info}/RECORD +11 -10
- {praisonaiagents-0.0.144.dist-info → praisonaiagents-0.0.145.dist-info}/WHEEL +0 -0
- {praisonaiagents-0.0.144.dist-info → praisonaiagents-0.0.145.dist-info}/top_level.txt +0 -0
praisonaiagents/__init__.py
CHANGED
@@ -28,6 +28,7 @@ logging.getLogger("httpcore").setLevel(logging.WARNING)
|
|
28
28
|
|
29
29
|
from .agent.agent import Agent
|
30
30
|
from .agent.image_agent import ImageAgent
|
31
|
+
from .agent.context_agent import ContextAgent, create_context_agent
|
31
32
|
from .agents.agents import PraisonAIAgents
|
32
33
|
from .task.task import Task
|
33
34
|
from .tools.tools import Tools
|
@@ -108,6 +109,8 @@ if _telemetry_available:
|
|
108
109
|
__all__ = [
|
109
110
|
'Agent',
|
110
111
|
'ImageAgent',
|
112
|
+
'ContextAgent',
|
113
|
+
'create_context_agent',
|
111
114
|
'PraisonAIAgents',
|
112
115
|
'Agents',
|
113
116
|
'Tools',
|
@@ -1,7 +1,8 @@
|
|
1
1
|
"""Agent module for AI agents"""
|
2
2
|
from .agent import Agent
|
3
3
|
from .image_agent import ImageAgent
|
4
|
+
from .context_agent import ContextAgent, create_context_agent
|
4
5
|
from .handoff import Handoff, handoff, handoff_filters, RECOMMENDED_PROMPT_PREFIX, prompt_with_handoff_instructions
|
5
6
|
from .router_agent import RouterAgent
|
6
7
|
|
7
|
-
__all__ = ['Agent', 'ImageAgent', 'Handoff', 'handoff', 'handoff_filters', 'RECOMMENDED_PROMPT_PREFIX', 'prompt_with_handoff_instructions', 'RouterAgent']
|
8
|
+
__all__ = ['Agent', 'ImageAgent', 'ContextAgent', 'create_context_agent', 'Handoff', 'handoff', 'handoff_filters', 'RECOMMENDED_PROMPT_PREFIX', 'prompt_with_handoff_instructions', 'RouterAgent']
|