pycityagent 2.0.0a50__cp310-cp310-macosx_11_0_arm64.whl → 2.0.0a52__cp310-cp310-macosx_11_0_arm64.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ from pycityagent.economy import EconomyClient
9
9
  from pycityagent.llm.llm import LLM
10
10
  from pycityagent.memory import Memory
11
11
  from pycityagent.message import Messager
12
- from pycityagent.workflow.tool import ExportMlflowMetrics
12
+ from pycityagent.tools import ExportMlflowMetrics
13
13
 
14
14
  logger = logging.getLogger("pycityagent")
15
15
 
@@ -10,7 +10,7 @@ from pycityagent.llm.llm import LLM
10
10
  from pycityagent.memory import Memory
11
11
  from pycityagent.message import Messager
12
12
  from pycityagent.workflow import Block
13
- from pycityagent.workflow.tool import UpdateWithSimulator
13
+ from pycityagent.tools import UpdateWithSimulator
14
14
 
15
15
  from .blocks import (CognitionBlock, EconomyBlock, MobilityBlock, NeedsBlock,
16
16
  OtherBlock, PlanBlock, SocialBlock)
@@ -1,4 +1,5 @@
1
- from .tool import ExportMlflowMetrics, GetMap, SencePOI, Tool, UpdateWithSimulator
1
+ from .tool import (ExportMlflowMetrics, GetMap, ResetAgentPosition, SencePOI,
2
+ Tool, UpdateWithSimulator)
2
3
 
3
4
  __all__ = [
4
5
  "SencePOI",
@@ -6,4 +7,5 @@ __all__ = [
6
7
  "ExportMlflowMetrics",
7
8
  "GetMap",
8
9
  "UpdateWithSimulator",
10
+ "ResetAgentPosition",
9
11
  ]
pycityagent/tools/tool.py CHANGED
@@ -233,7 +233,6 @@ class ExportMlflowMetrics(Tool):
233
233
  if clear_cache:
234
234
  await self._clear_cache()
235
235
 
236
- @lock_decorator
237
236
  async def _clear_cache(
238
237
  self,
239
238
  ):
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pycityagent
3
- Version: 2.0.0a50
3
+ Version: 2.0.0a52
4
4
  Summary: LLM-based city environment agent building library
5
5
  Author-email: Yuwei Yan <pinkgranite86@gmail.com>, Junbo Yan <yanjb20thu@gmali.com>, Jun Zhang <zhangjun990222@gmali.com>
6
6
  License: MIT License
@@ -1,3 +1,9 @@
1
+ pycityagent-2.0.0a52.dist-info/RECORD,,
2
+ pycityagent-2.0.0a52.dist-info/LICENSE,sha256=n2HPXiupinpyHMnIkbCf3OTYd3KMqbmldu1e7av0CAU,1084
3
+ pycityagent-2.0.0a52.dist-info/WHEEL,sha256=ezfKMaDztqf77C8lvQ0NCnZxkTaOaKLprqJ8q932MhU,109
4
+ pycityagent-2.0.0a52.dist-info/entry_points.txt,sha256=BZcne49AAIFv-hawxGnPbblea7X3MtAtoPyDX8L4OC4,132
5
+ pycityagent-2.0.0a52.dist-info/top_level.txt,sha256=yOmeu6cSXmiUtScu53a3s0p7BGtLMaV0aff83EHCTic,43
6
+ pycityagent-2.0.0a52.dist-info/METADATA,sha256=WBBdIOQzkArKVtcDejBHFlvBAyVJlfpBhIN3e8kvOQE,9110
1
7
  pycityagent/pycityagent-sim,sha256=n96jlVZRINlBec5SPOGAdUmeLWMoEKGgoH29iOVJ0wE,34081890
2
8
  pycityagent/__init__.py,sha256=PUKWTXc-xdMG7px8oTNclodsILUgypANj2Z647sY63k,808
3
9
  pycityagent/pycityagent-ui,sha256=cHZjqtrQ4Fh4qtRahFNCNbT2DNHLmUexiDAa-72Z3RQ,40333378
@@ -6,8 +12,8 @@ pycityagent/metrics/__init__.py,sha256=X08PaBbGVAd7_PRGLREXWxaqm7nS82WBQpD1zvQzc
6
12
  pycityagent/metrics/utils/const.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
13
  pycityagent/economy/__init__.py,sha256=aonY4WHnx-6EGJ4WKrx4S-2jAkYNLtqUA04jp6q8B7w,75
8
14
  pycityagent/economy/econ_client.py,sha256=GuHK9ZBnhqW3Z7F8ViDJn_iN73yOBbbwFyJv1wLEBDk,12211
9
- pycityagent/tools/__init__.py,sha256=HHlRBj2lNed3d_xqCURnkFX3WkjRni9_6097AoHx97g,194
10
- pycityagent/tools/tool.py,sha256=JD5APkoWqnS46gyimI17no2fPknjwkk173AFt-oFv_c,8778
15
+ pycityagent/tools/__init__.py,sha256=XtdtGyWeFyK1YOUvWkykBWxemtmwQjWUIuuyU1-gosQ,261
16
+ pycityagent/tools/tool.py,sha256=qhjvPMKsGQ02oIGLl6ZdETTAR0q_av2qK2Ovf1XS_so,8758
11
17
  pycityagent/llm/llmconfig.py,sha256=4Ylf4OFSBEFy8jrOneeX0HvPhWEaF5jGvy1HkXK08Ro,436
12
18
  pycityagent/llm/__init__.py,sha256=iWs6FLgrbRVIiqOf4ILS89gkVCTvS7HFC3vG-MWuyko,205
13
19
  pycityagent/llm/llm.py,sha256=owTYuXmnHZnvXaAvwiiyD511P3wpU3K04xZArhhiJF0,15700
@@ -77,9 +83,9 @@ pycityagent/cityagent/memory_config.py,sha256=6dkgqPczANUqZpqGXDOt7wrS6vHdFSMNkW
77
83
  pycityagent/cityagent/bankagent.py,sha256=9J0c_r6m0OJH2KpXxeCWstLqZVpjQ67xuWmDTbVm7KM,2217
78
84
  pycityagent/cityagent/__init__.py,sha256=gcBQ-a50XegFtjigQ7xDXRBZrywBKqifiQFSRnEF8gM,572
79
85
  pycityagent/cityagent/firmagent.py,sha256=Mtb58YfW3V696gXA6TRw1qUL1WIzthahDBv2X5x_Iyg,4176
80
- pycityagent/cityagent/nbsagent.py,sha256=ym83JGtRYrSNe1UASUqbG3imcZV8NKC_SXC1qD_oQlY,5210
86
+ pycityagent/cityagent/nbsagent.py,sha256=SIOigR8eiSHC0Gi8kg32hLxsqPKDgCHWF0HA89EU7eA,5202
81
87
  pycityagent/cityagent/initial.py,sha256=7hgCt_tGdnVTXGfEQOn1GTW5dAs1b-ru_FwXxRLI6tM,4549
82
- pycityagent/cityagent/societyagent.py,sha256=bCfDGaf0TU02JZztx7-mCOtzBzyFSBrDaU59fu0TJW4,14968
88
+ pycityagent/cityagent/societyagent.py,sha256=oVDWt-DDGMDxh_LpqMs4_CX-5hVQORyPC1ZW2a8CrhI,14960
83
89
  pycityagent/cityagent/governmentagent.py,sha256=9fjGueVmYok7zca14E1VL4N3ENEhnq2nubI6ab7Hzp0,2825
84
90
  pycityagent/cityagent/blocks/dispatcher.py,sha256=mEa1r3tRS3KI1BMZR_w_sbUGzOj6aUJuiUrsHv1n2n0,2943
85
91
  pycityagent/cityagent/blocks/needs_block.py,sha256=pPPjdVFCqFvAV0RM1LVevQIH5d0GALnB6xLekvplutE,13113
@@ -95,9 +101,3 @@ pycityagent/cityagent/blocks/mobility_block.py,sha256=ZebloDhvZJYbV0YSWhAbnOLToi
95
101
  pycityagent/survey/models.py,sha256=YE50UUt5qJ0O_lIUsSY6XFCGUTkJVNu_L1gAhaCJ2fs,3546
96
102
  pycityagent/survey/__init__.py,sha256=rxwou8U9KeFSP7rMzXtmtp2fVFZxK4Trzi-psx9LPIs,153
97
103
  pycityagent/survey/manager.py,sha256=S5IkwTdelsdtZETChRcfCEczzwSrry_Fly9MY4s3rbk,1681
98
- pycityagent-2.0.0a50.dist-info/RECORD,,
99
- pycityagent-2.0.0a50.dist-info/LICENSE,sha256=n2HPXiupinpyHMnIkbCf3OTYd3KMqbmldu1e7av0CAU,1084
100
- pycityagent-2.0.0a50.dist-info/WHEEL,sha256=dR1rljx09yOIlNsXrycFk73TFOGzVWewMxAF8RkAwcI,109
101
- pycityagent-2.0.0a50.dist-info/entry_points.txt,sha256=BZcne49AAIFv-hawxGnPbblea7X3MtAtoPyDX8L4OC4,132
102
- pycityagent-2.0.0a50.dist-info/top_level.txt,sha256=yOmeu6cSXmiUtScu53a3s0p7BGtLMaV0aff83EHCTic,43
103
- pycityagent-2.0.0a50.dist-info/METADATA,sha256=QDksw-IPlY7P9WLpQjHibM9_Jpo25q9anVg7-hPXvbQ,9110
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.7.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-cp310-macosx_11_0_arm64
5
5