autonomous-app 0.2.15__py3-none-any.whl → 0.2.16__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 CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.2.15"
1
+ __version__ = "0.2.16"
2
2
 
3
3
  from .logger import log
4
4
  from .model.automodel import AutoModel
autonomous/ai/oaiagent.py CHANGED
@@ -13,7 +13,7 @@ from autonomous import AutoModel, log
13
13
  class OAIAgent(AutoModel):
14
14
  client = None
15
15
  attributes = {
16
- "model": "gpt-4-turbo",
16
+ "model": "gpt-4o",
17
17
  "_agent_id": None,
18
18
  "messages": [],
19
19
  "tools": {},
@@ -118,8 +118,10 @@ class OAIAgent(AutoModel):
118
118
  )
119
119
  return message_list
120
120
 
121
- def generate(self, messages, function=None):
122
- _instructions_addition = self._add_function(function) if function else ""
121
+ def generate(self, messages, function=None, additonal_instructions=""):
122
+ _instructions_addition = (
123
+ self._add_function(function) if function else additonal_instructions
124
+ )
123
125
 
124
126
  formatted_messages = self._format_messages(messages)
125
127
  thread = self.client.beta.threads.create(messages=formatted_messages)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autonomous-app
3
- Version: 0.2.15
3
+ Version: 0.2.16
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,8 +1,8 @@
1
- autonomous/__init__.py,sha256=HyI70D9wjcIrFAhvOuYRFduuxyOIIpW2zhCOMStSGwk,87
1
+ autonomous/__init__.py,sha256=fIIU2KwzekF0RCWGzuvHHuLwLaxdPGnjC-WTZlCNSNk,87
2
2
  autonomous/cli.py,sha256=z4AaGeWNW_uBLFAHng0J_lfS9v3fXemK1PeT85u4Eo4,42
3
3
  autonomous/logger.py,sha256=hDX3gvbcWiGPvA8pfarih3xHS4aHG_NuNkF8PQfq_pM,1844
4
4
  autonomous/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- autonomous/ai/oaiagent.py,sha256=OWlSjvo8pEo6e5wrgvEGOL06AMKHECVW4ccnekaeZBU,7128
5
+ autonomous/ai/oaiagent.py,sha256=JuRrA0mBiWg5fW_zJnFDX0Vi-rHhSOzDQLIa_J4UCxM,7194
6
6
  autonomous/auth/__init__.py,sha256=IW5tQ8VYwHIbDfMYA0wYgx4PprwcjUWV4EoIJ8HTlMU,161
7
7
  autonomous/auth/autoauth.py,sha256=Q2DfcWjh0vTSSpf5SqyK4SElVDcxu8435GhLSPqTYco,3724
8
8
  autonomous/auth/github.py,sha256=dHf84bJdV9rXGcvRLzWCPW9CvuA-VEmqYi_QQFwd2kY,886
@@ -29,8 +29,8 @@ autonomous/storage/version_control/GHVersionControl.py,sha256=VIhVRxe6gJgozFWyhy
29
29
  autonomous/storage/version_control/__init__.py,sha256=tP0bAWYl1RwBRi62HsIidmgyqHuSlCUqwGuKUKKRugc,117
30
30
  autonomous/tasks/__init__.py,sha256=pn7iZ14MhcHUdzcLkfkd4-45wgPP0tXahAz_cFgb_Tg,32
31
31
  autonomous/tasks/autotask.py,sha256=_WQ8w1LyV2FVJ0Ct0FoF9q1W8ClXfS57-omnBb0LNWE,4910
32
- autonomous_app-0.2.15.dist-info/LICENSE,sha256=-PHHSuDRkodHo3PEdMkDtoIdmLAOomMq6lsLaOetU8g,1076
33
- autonomous_app-0.2.15.dist-info/METADATA,sha256=dwDr4Q6uSpUQOcZvJ9bspxwxu2aBt51HlMnSGlqs5t4,4229
34
- autonomous_app-0.2.15.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
35
- autonomous_app-0.2.15.dist-info/top_level.txt,sha256=ZyxWWDdbvZekF3UFunxl4BQsVDb_FOW3eTn0vun_jb4,11
36
- autonomous_app-0.2.15.dist-info/RECORD,,
32
+ autonomous_app-0.2.16.dist-info/LICENSE,sha256=-PHHSuDRkodHo3PEdMkDtoIdmLAOomMq6lsLaOetU8g,1076
33
+ autonomous_app-0.2.16.dist-info/METADATA,sha256=xnNqaDr6djeDvops3IpRwFu8h3MEhbXHIO7ibPyqj68,4229
34
+ autonomous_app-0.2.16.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
35
+ autonomous_app-0.2.16.dist-info/top_level.txt,sha256=ZyxWWDdbvZekF3UFunxl4BQsVDb_FOW3eTn0vun_jb4,11
36
+ autonomous_app-0.2.16.dist-info/RECORD,,