freeplay 0.3.0a12__tar.gz → 0.3.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: freeplay
3
- Version: 0.3.0a12
3
+ Version: 0.3.2
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: FreePlay Engineering
@@ -12,7 +12,6 @@ Classifier: Programming Language :: Python :: 3.8
12
12
  Classifier: Programming Language :: Python :: 3.9
13
13
  Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: Programming Language :: Python :: 3.11
15
- Classifier: Programming Language :: Python :: 3.12
16
15
  Requires-Dist: click (==8.1.7)
17
16
  Requires-Dist: dacite (>=1.8.0,<2.0.0)
18
17
  Requires-Dist: pystache (>=0.6.5,<0.7.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "freeplay"
3
- version = "0.3.0-alpha.12"
3
+ version = "0.3.2"
4
4
  description = ""
5
5
  authors = ["FreePlay Engineering <engineering@freeplay.ai>"]
6
6
  license = "MIT"
@@ -149,7 +149,7 @@ class TemplatePrompt:
149
149
  history_clean = []
150
150
  if history:
151
151
  for msg in history:
152
- if (msg.get('role') == 'system') & ('system' in [message.get('role') for message in self.messages]):
152
+ if (msg.get('role') == 'system') and ('system' in [message.get('role') for message in self.messages]):
153
153
  log_freeplay_client_warning("System message found in history, and prompt template."
154
154
  "Removing system message from the history")
155
155
  else:
@@ -167,7 +167,7 @@ class CallSupport:
167
167
  self,
168
168
  project_id: str,
169
169
  testlist: str,
170
- include_test_case_outputs: bool = False,
170
+ include_outputs: bool = False,
171
171
  name: Optional[str] = None,
172
172
  description: Optional[str] = None
173
173
  ) -> TestRunResponse:
@@ -176,7 +176,7 @@ class CallSupport:
176
176
  url=f'{self.api_base}/v2/projects/{project_id}/test-runs',
177
177
  payload={
178
178
  'dataset_name': testlist,
179
- 'include_test_case_outputs': include_test_case_outputs,
179
+ 'include_outputs': include_outputs,
180
180
  'test_run_name': name,
181
181
  'test_run_description': description
182
182
  },
File without changes
File without changes