h-ai-brain 0.0.20__py3-none-any.whl → 0.0.21__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.
@@ -1,12 +1,9 @@
1
- from h_message_bus import NatsPublisherAdapter
2
-
3
1
  from ..domain.llm_config import LLMConfig
4
2
  from ..infrastructure.llm.ollama.ollama_generate_repository import OllamaGenerateRepository
5
3
 
6
4
 
7
5
  class HaiService:
8
- def __init__(self, nats_publisher_adapter: NatsPublisherAdapter, llm_config: LLMConfig):
9
- self.nats_publisher_adapter = nats_publisher_adapter
6
+ def __init__(self, llm_config: LLMConfig):
10
7
  self.llm_config = llm_config
11
8
  self.llm_generate_repository = OllamaGenerateRepository(
12
9
  self.llm_config.url,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h_ai_brain
3
- Version: 0.0.20
3
+ Version: 0.0.21
4
4
  Summary: AI Research agent API
5
5
  Author-email: shoebill <shoebill.hai@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -10,7 +10,6 @@ Requires-Python: >=3.10
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  License-File: NOTICE.txt
13
- Requires-Dist: h_message_bus~=0.0.22
14
13
  Requires-Dist: requests~=2.32.3
15
14
  Provides-Extra: dev
16
15
  Requires-Dist: pytest; extra == "dev"
@@ -1,6 +1,6 @@
1
1
  h_ai/__init__.py,sha256=63uVFHPxXmLrZVo2ZPixL2cU4jwf3XTAuwIVGHGkqJI,75
2
2
  h_ai/application/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- h_ai/application/hai_service.py,sha256=k7bhMwqJxrpj2rtH_rQokOEYdIzl6bx69bmoyvqzybA,844
3
+ h_ai/application/hai_service.py,sha256=LPRAfwlyGpAY8qUL-pB3c_KhOWa93ztr_CJo11Sy7Xc,686
4
4
  h_ai/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  h_ai/domain/llm_config.py,sha256=xdyRoc26yDoKy8Y5L724TT6LoF3MEOpi7SZPQvS-lx8,258
6
6
  h_ai/domain/reasoning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -22,9 +22,9 @@ h_ai/infrastructure/llm/ollama/ollama_tool_repository.py,sha256=7UZ-qsgXQUcJFx1q
22
22
  h_ai/infrastructure/llm/ollama/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  h_ai/infrastructure/llm/ollama/models/ollama_chat_message.py,sha256=ZIz4PQ3869vI3xAYYufPrxXpacajRDtOI8RDl5Dm9RQ,305
24
24
  h_ai/infrastructure/llm/ollama/models/ollama_chat_session.py,sha256=GZ_ddpbWa8iy6NZq50vokUFVZBiX0WNa81z9-r9RzTY,392
25
- h_ai_brain-0.0.20.dist-info/licenses/LICENSE,sha256=SbvpEU5JIU3yzMMkyzrI0dGqHDoJR_lMKGdl6GZHsy4,11558
26
- h_ai_brain-0.0.20.dist-info/licenses/NOTICE.txt,sha256=vxeIKUiGqAePLvDW4AVm3Xh-3BcsvMtCMn1tbsr9zsE,668
27
- h_ai_brain-0.0.20.dist-info/METADATA,sha256=BcSQW9rcNsnMTYKcMSQT7kR_EYcJjaTg3rDuAG0Vvmc,569
28
- h_ai_brain-0.0.20.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
29
- h_ai_brain-0.0.20.dist-info/top_level.txt,sha256=3MChDBWvDJV4cEHuZhzeODxQ4ewtw-arOuyaDOc6sIo,5
30
- h_ai_brain-0.0.20.dist-info/RECORD,,
25
+ h_ai_brain-0.0.21.dist-info/licenses/LICENSE,sha256=SbvpEU5JIU3yzMMkyzrI0dGqHDoJR_lMKGdl6GZHsy4,11558
26
+ h_ai_brain-0.0.21.dist-info/licenses/NOTICE.txt,sha256=vxeIKUiGqAePLvDW4AVm3Xh-3BcsvMtCMn1tbsr9zsE,668
27
+ h_ai_brain-0.0.21.dist-info/METADATA,sha256=FLwAOebiwpN55xVzDdMMjLtr98FGhqUi0FJRz6Ovn2k,531
28
+ h_ai_brain-0.0.21.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
29
+ h_ai_brain-0.0.21.dist-info/top_level.txt,sha256=3MChDBWvDJV4cEHuZhzeODxQ4ewtw-arOuyaDOc6sIo,5
30
+ h_ai_brain-0.0.21.dist-info/RECORD,,