autonomous-app 0.3.35__py3-none-any.whl → 0.3.36__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/local_model.py +8 -6
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.36.dist-info}/METADATA +1 -1
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.36.dist-info}/RECORD +6 -6
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.36.dist-info}/WHEEL +0 -0
- {autonomous_app-0.3.35.dist-info → autonomous_app-0.3.36.dist-info}/top_level.txt +0 -0
autonomous/__init__.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,12 @@ 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
|
+
display_name="audio.mp3",
|
|
197
|
+
):
|
|
196
198
|
voice = voice or random.choice(list(self.VOICES.keys()))
|
|
197
199
|
try:
|
|
198
200
|
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.36
|
|
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,4 +1,4 @@
|
|
|
1
|
-
autonomous/__init__.py,sha256=
|
|
1
|
+
autonomous/__init__.py,sha256=jNgPohhmOmdDwpu9kDjuP1sNUwzWsUL_9WjvAIQ728g,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
|
|
@@ -9,7 +9,7 @@ autonomous/ai/jsonagent.py,sha256=OZeQthp5WOSCV6pmbPfPQRjARkvbK5lk7A0QTEPUrUk,12
|
|
|
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=0GrcY3AA6Y7UcTUBtCQ24hZ8WhDN-EPQuXO924OjB98,9072
|
|
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.36.dist-info/METADATA,sha256=KL4A-nZ3OiSKMiJDeD1WXvEOS_78YylJ8j85m53YW6Q,3024
|
|
59
|
+
autonomous_app-0.3.36.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
60
|
+
autonomous_app-0.3.36.dist-info/top_level.txt,sha256=ZyxWWDdbvZekF3UFunxl4BQsVDb_FOW3eTn0vun_jb4,11
|
|
61
|
+
autonomous_app-0.3.36.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|