autonomous-app 0.3.35__py3-none-any.whl → 0.3.37__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/audioagent.py +0 -1
- autonomous/ai/models/local_model.py +7 -6
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.37.dist-info}/METADATA +1 -1
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.37.dist-info}/RECORD +7 -7
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.37.dist-info}/WHEEL +0 -0
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.37.dist-info}/top_level.txt +0 -0
autonomous/__init__.py
CHANGED
autonomous/ai/audioagent.py
CHANGED
|
@@ -116,11 +116,8 @@ class LocalAIModel(AutoModel):
|
|
|
116
116
|
return result_dict
|
|
117
117
|
|
|
118
118
|
except Exception as e:
|
|
119
|
-
log(
|
|
120
|
-
|
|
121
|
-
_print=True,
|
|
122
|
-
)
|
|
123
|
-
return {}
|
|
119
|
+
log(f"==== LocalAI JSON Error: {e} ====", _print=True)
|
|
120
|
+
raise e
|
|
124
121
|
|
|
125
122
|
def generate_text(self, message, additional_instructions="", uri="", context={}):
|
|
126
123
|
# 1. Base System Prompt
|
|
@@ -192,7 +189,11 @@ class LocalAIModel(AutoModel):
|
|
|
192
189
|
log(f"STT Error: {e}", _print=True)
|
|
193
190
|
return ""
|
|
194
191
|
|
|
195
|
-
def generate_audio(
|
|
192
|
+
def generate_audio(
|
|
193
|
+
self,
|
|
194
|
+
prompt,
|
|
195
|
+
voice=None,
|
|
196
|
+
):
|
|
196
197
|
voice = voice or random.choice(list(self.VOICES.keys()))
|
|
197
198
|
try:
|
|
198
199
|
payload = {"text": prompt, "voice": voice}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: autonomous-app
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.37
|
|
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
|
Project-URL: homepage, https://github.com/Sallenmoore/autonomous
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
autonomous/__init__.py,sha256=
|
|
1
|
+
autonomous/__init__.py,sha256=Y2FQQrtDQSpcFBuNs_0bheHgw0K4d8HBaU-hbKw1cu4,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
|
|
5
|
-
autonomous/ai/audioagent.py,sha256=
|
|
5
|
+
autonomous/ai/audioagent.py,sha256=aZ25eEdze8S060-a4S0k319tgyl2aDTUa8dJu07mXn0,1092
|
|
6
6
|
autonomous/ai/baseagent.py,sha256=icOPygr1NdH64u1ZYbwHHywYIY1ZtaLY9HtfNmUbx4k,4702
|
|
7
7
|
autonomous/ai/imageagent.py,sha256=yN-Qv1QSBsFvw0fVXLVqdh_3cveRETJGILgeBI3GRoc,955
|
|
8
8
|
autonomous/ai/jsonagent.py,sha256=OZeQthp5WOSCV6pmbPfPQRjARkvbK5lk7A0QTEPUrUk,1228
|
|
9
9
|
autonomous/ai/textagent.py,sha256=0y2Hvb9pup1OnsA51hGPcD8yllZOZtztDLQvCNYABaw,1043
|
|
10
10
|
autonomous/ai/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
autonomous/ai/models/gemini.py,sha256=eu48gywNFpUFaqBt-4MFX2oRM5IED9rUTgtavM_HRG0,14468
|
|
12
|
-
autonomous/ai/models/local_model.py,sha256=
|
|
12
|
+
autonomous/ai/models/local_model.py,sha256=m_rEs1BtBhzbmNTdYnyxxOiRNkoBaapk3dwl1QPtB-I,9038
|
|
13
13
|
autonomous/apis/version_control/GHCallbacks.py,sha256=AyiUlYfV5JePi11GVyqYyXoj5UTbPKzS-HRRI94rjJo,1069
|
|
14
14
|
autonomous/apis/version_control/GHOrganization.py,sha256=mi2livdsGurKiifbvuLwiFbdDzL77IlEfhwEa-tG77I,1155
|
|
15
15
|
autonomous/apis/version_control/GHRepo.py,sha256=hTFHMkxSbSlVELfh8S6mq6ijkIKPRQO-Q5775ZjRKD4,4622
|
|
@@ -55,7 +55,7 @@ autonomous/taskrunner/__init__.py,sha256=ughX-QfWBas5W3aB2SiF887SWJ3Dzc2X43Yxtmp
|
|
|
55
55
|
autonomous/taskrunner/autotasks.py,sha256=2zRaqHYqfdlgC_BQm6B6D2svN1ukyWeJJHwweZFHVoo,2616
|
|
56
56
|
autonomous/taskrunner/task_router.py,sha256=W09HtRUuhwlnGxM5w4l6Hzw6mfS6L4ljWiMzD3ZVFeU,601
|
|
57
57
|
autonomous/utils/markdown.py,sha256=tf8vlHARiQO1X_aGbqlYozzP_TbdiDRT9EEP6aFRQo0,2153
|
|
58
|
-
autonomous_app-0.3.
|
|
59
|
-
autonomous_app-0.3.
|
|
60
|
-
autonomous_app-0.3.
|
|
61
|
-
autonomous_app-0.3.
|
|
58
|
+
autonomous_app-0.3.37.dist-info/METADATA,sha256=Y3_569_vKq8_ZOmsy2zHYbq0ynllStrQKQaZ-ZFDufg,3024
|
|
59
|
+
autonomous_app-0.3.37.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
60
|
+
autonomous_app-0.3.37.dist-info/top_level.txt,sha256=ZyxWWDdbvZekF3UFunxl4BQsVDb_FOW3eTn0vun_jb4,11
|
|
61
|
+
autonomous_app-0.3.37.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|