autonomous-app 0.3.12__py3-none-any.whl → 0.3.14__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.
- autonomous/__init__.py +1 -1
- autonomous/ai/models/openai.py +0 -1
- autonomous/model/automodel.py +23 -0
- {autonomous_app-0.3.12.dist-info → autonomous_app-0.3.14.dist-info}/METADATA +1 -1
- {autonomous_app-0.3.12.dist-info → autonomous_app-0.3.14.dist-info}/RECORD +8 -8
- {autonomous_app-0.3.12.dist-info → autonomous_app-0.3.14.dist-info}/LICENSE +0 -0
- {autonomous_app-0.3.12.dist-info → autonomous_app-0.3.14.dist-info}/WHEEL +0 -0
- {autonomous_app-0.3.12.dist-info → autonomous_app-0.3.14.dist-info}/top_level.txt +0 -0
autonomous/__init__.py
CHANGED
autonomous/ai/models/openai.py
CHANGED
|
@@ -59,7 +59,6 @@ class OpenAIModel(AutoModel):
|
|
|
59
59
|
self.client.beta.assistants.retrieve(self.agent_id)
|
|
60
60
|
except (ValueError, openai.NotFoundError) as e:
|
|
61
61
|
log(f"{e} -- no agent found, creating a new one")
|
|
62
|
-
self.clear_files()
|
|
63
62
|
agent = self.client.beta.assistants.create(
|
|
64
63
|
instructions=self.instructions,
|
|
65
64
|
description=self.description,
|
autonomous/model/automodel.py
CHANGED
|
@@ -27,6 +27,29 @@ class AutoModel(Document):
|
|
|
27
27
|
def __eq__(self, other):
|
|
28
28
|
return self.pk == other.pk if other else False
|
|
29
29
|
|
|
30
|
+
def __lt__(self, other):
|
|
31
|
+
return self.pk < other.pk if other else False
|
|
32
|
+
|
|
33
|
+
def __gt__(self, other):
|
|
34
|
+
return not (self.pk < other.pk) if other else False
|
|
35
|
+
|
|
36
|
+
def __le__(self, other):
|
|
37
|
+
return self < other or self == other
|
|
38
|
+
|
|
39
|
+
def __ge__(self, other):
|
|
40
|
+
return self > other or self == other
|
|
41
|
+
|
|
42
|
+
def __ne__(self, other):
|
|
43
|
+
return not self == other
|
|
44
|
+
|
|
45
|
+
def __hash__(self):
|
|
46
|
+
return hash(
|
|
47
|
+
(
|
|
48
|
+
self.model_name(),
|
|
49
|
+
self.pk,
|
|
50
|
+
)
|
|
51
|
+
)
|
|
52
|
+
|
|
30
53
|
@classmethod
|
|
31
54
|
def auto_pre_init(cls, sender, document, **kwargs):
|
|
32
55
|
values = kwargs.pop("values", None)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: autonomous-app
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.14
|
|
4
4
|
Summary: Containerized application framework built on Flask with additional libraries and tools for rapid development of web applications.
|
|
5
5
|
Author-email: Steven A Moore <samoore@binghamton.edu>
|
|
6
6
|
License: MIT License
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
autonomous/__init__.py,sha256=
|
|
1
|
+
autonomous/__init__.py,sha256=7i7VOwi4YnOQBuNgsmWO7MQVIwP3xyjWL4yOYapssN8,95
|
|
2
2
|
autonomous/cli.py,sha256=z4AaGeWNW_uBLFAHng0J_lfS9v3fXemK1PeT85u4Eo4,42
|
|
3
3
|
autonomous/logger.py,sha256=NQtgEaTWNAWfLSgqSP7ksXj1GpOuCgoUV711kSMm-WA,2022
|
|
4
4
|
autonomous/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -8,7 +8,7 @@ autonomous/ai/imageagent.py,sha256=Tn02Hk7WX53pqvK-2Xd2xOuyHKaNuAS_yr7lRdct3rc,6
|
|
|
8
8
|
autonomous/ai/jsonagent.py,sha256=wlTULEBlrAAb8ELMxik1b7YOgHD4ARmbWLUWc5pgxB8,1197
|
|
9
9
|
autonomous/ai/textagent.py,sha256=8iVuY-cSJsJgyWKrpCoj46c0MIsB13PFPNYdxSyqlKI,1096
|
|
10
10
|
autonomous/ai/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
autonomous/ai/models/openai.py,sha256=
|
|
11
|
+
autonomous/ai/models/openai.py,sha256=Hp_uC_dJys5UGQG2jt3_nk9SKkbwhZofGaoBOil1tXU,11861
|
|
12
12
|
autonomous/apis/version_control/GHCallbacks.py,sha256=AyiUlYfV5JePi11GVyqYyXoj5UTbPKzS-HRRI94rjJo,1069
|
|
13
13
|
autonomous/apis/version_control/GHOrganization.py,sha256=mi2livdsGurKiifbvuLwiFbdDzL77IlEfhwEa-tG77I,1155
|
|
14
14
|
autonomous/apis/version_control/GHRepo.py,sha256=hTFHMkxSbSlVELfh8S6mq6ijkIKPRQO-Q5775ZjRKD4,4622
|
|
@@ -46,15 +46,15 @@ autonomous/db/queryset/transform.py,sha256=UhBdDxYR_bWH0ECnaSw9g9YMwgWRZtsRl_q6P
|
|
|
46
46
|
autonomous/db/queryset/visitor.py,sha256=AN09lR6hWYUlKJC7G1sktvnWy5hrFnpoQhi58bOXbA4,5470
|
|
47
47
|
autonomous/model/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
48
48
|
autonomous/model/autoattr.py,sha256=eqO3QE17EMRzLvtF74gXefeK1I2N-w6uScpibdChVOw,2254
|
|
49
|
-
autonomous/model/automodel.py,sha256=
|
|
49
|
+
autonomous/model/automodel.py,sha256=_D7s02MUEllJZX3ubpHARlWK8__3CEBT7YCQcypkkhQ,7340
|
|
50
50
|
autonomous/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
51
51
|
autonomous/storage/imagestorage.py,sha256=SmBjBNBlP1ZEjxdOnGVzCHZhbEhMKTUQC2TbpWbejDE,6168
|
|
52
52
|
autonomous/storage/localstorage.py,sha256=FzrR6O9mMGAZt5dDgqzkeOQVfGRXCygR0kksz2MPpwE,2286
|
|
53
53
|
autonomous/tasks/__init__.py,sha256=pn7iZ14MhcHUdzcLkfkd4-45wgPP0tXahAz_cFgb_Tg,32
|
|
54
54
|
autonomous/tasks/autotask.py,sha256=aK5iapDhgcAic3F5ZYMAhNKJkOepj8yWwbMizKDzUwQ,4153
|
|
55
55
|
autonomous/utils/markdown.py,sha256=tf8vlHARiQO1X_aGbqlYozzP_TbdiDRT9EEP6aFRQo0,2153
|
|
56
|
-
autonomous_app-0.3.
|
|
57
|
-
autonomous_app-0.3.
|
|
58
|
-
autonomous_app-0.3.
|
|
59
|
-
autonomous_app-0.3.
|
|
60
|
-
autonomous_app-0.3.
|
|
56
|
+
autonomous_app-0.3.14.dist-info/LICENSE,sha256=-PHHSuDRkodHo3PEdMkDtoIdmLAOomMq6lsLaOetU8g,1076
|
|
57
|
+
autonomous_app-0.3.14.dist-info/METADATA,sha256=xyWQXlkU9NSkrFLPtVebnufmO6sQgOfdfz1RqditWNM,4189
|
|
58
|
+
autonomous_app-0.3.14.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
59
|
+
autonomous_app-0.3.14.dist-info/top_level.txt,sha256=ZyxWWDdbvZekF3UFunxl4BQsVDb_FOW3eTn0vun_jb4,11
|
|
60
|
+
autonomous_app-0.3.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|