freeplay 0.3.0a12__py3-none-any.whl → 0.3.2__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.
@@ -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:
freeplay/support.py CHANGED
@@ -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
  },
@@ -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)
@@ -8,14 +8,14 @@ freeplay/model.py,sha256=pC24wUsedD4RTI4k1BcYuDjizroeEHINH6FtEa_RLCk,384
8
8
  freeplay/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  freeplay/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  freeplay/resources/customer_feedback.py,sha256=aTM7Eez7iYmjXSpRqkHxf4pi6xBrzVnMiQCEJVfPGvg,527
11
- freeplay/resources/prompts.py,sha256=HTxD_jD6ovfQCil5zrnSGwIGK5Y-FdX_upW56cJWpQI,18758
11
+ freeplay/resources/prompts.py,sha256=Zd2ZbQRFilFFOWQYt6z8gw8iID_QWB5YFL2Xnl-P-js,18760
12
12
  freeplay/resources/recordings.py,sha256=kUElo6Yvc6lyo221ghbElx75uxftw7HpgBV_R9gYlE4,5938
13
13
  freeplay/resources/sessions.py,sha256=pgfqCBa-qGwwdfym9nnHizEg0Jf4sd_chLAfunwtMCQ,2787
14
14
  freeplay/resources/test_runs.py,sha256=cwhm4s1dj2FqPQN86W6rsFTcay1M-Ip6DAbXp7Utl8c,2370
15
- freeplay/support.py,sha256=oh8KkKHYtVZdrZ9v5VJNrw_I9fqZZZWNQInHOfHjW0s,7848
15
+ freeplay/support.py,sha256=sBsq__XpjGuUH1RNyhlqGyXevDjYwXo7rNZ8pL0vskk,7818
16
16
  freeplay/utils.py,sha256=8ZncuwCnzsAhRsaoxOMGa0Py8kXqGHlB9Avr3n79fk0,2064
17
- freeplay-0.3.0a12.dist-info/LICENSE,sha256=_jzIw45hB1XHGxiQ8leZ0GH_X7bR_a8qgxaqnHbCUOo,1064
18
- freeplay-0.3.0a12.dist-info/METADATA,sha256=ivP2Sun817lFglWs_j0P-IDWRNrcgDgYJiZ2JrP25b0,1605
19
- freeplay-0.3.0a12.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
- freeplay-0.3.0a12.dist-info/entry_points.txt,sha256=32s3rf2UUCqiJT4jnClEXZhdXlvl30uwpcxz-Gsy4UU,54
21
- freeplay-0.3.0a12.dist-info/RECORD,,
17
+ freeplay-0.3.2.dist-info/LICENSE,sha256=_jzIw45hB1XHGxiQ8leZ0GH_X7bR_a8qgxaqnHbCUOo,1064
18
+ freeplay-0.3.2.dist-info/METADATA,sha256=WXkgfmzL-9y-OyPeJ3uV7XSaLZv9yJg8IrTg4bQtMww,1551
19
+ freeplay-0.3.2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
20
+ freeplay-0.3.2.dist-info/entry_points.txt,sha256=32s3rf2UUCqiJT4jnClEXZhdXlvl30uwpcxz-Gsy4UU,54
21
+ freeplay-0.3.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.9.0
2
+ Generator: poetry-core 1.6.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any