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.
- freeplay/resources/prompts.py +1 -1
- freeplay/support.py +2 -2
- {freeplay-0.3.0a12.dist-info → freeplay-0.3.2.dist-info}/METADATA +1 -2
- {freeplay-0.3.0a12.dist-info → freeplay-0.3.2.dist-info}/RECORD +7 -7
- {freeplay-0.3.0a12.dist-info → freeplay-0.3.2.dist-info}/WHEEL +1 -1
- {freeplay-0.3.0a12.dist-info → freeplay-0.3.2.dist-info}/LICENSE +0 -0
- {freeplay-0.3.0a12.dist-info → freeplay-0.3.2.dist-info}/entry_points.txt +0 -0
freeplay/resources/prompts.py
CHANGED
@@ -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')
|
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
|
-
|
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
|
-
'
|
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.
|
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=
|
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=
|
15
|
+
freeplay/support.py,sha256=sBsq__XpjGuUH1RNyhlqGyXevDjYwXo7rNZ8pL0vskk,7818
|
16
16
|
freeplay/utils.py,sha256=8ZncuwCnzsAhRsaoxOMGa0Py8kXqGHlB9Avr3n79fk0,2064
|
17
|
-
freeplay-0.3.
|
18
|
-
freeplay-0.3.
|
19
|
-
freeplay-0.3.
|
20
|
-
freeplay-0.3.
|
21
|
-
freeplay-0.3.
|
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,,
|
File without changes
|
File without changes
|