You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
3
3
Notable additions, fixes, or breaking changes to the Freeplay SDK.
4
4
5
+
## [0.5.10]
6
+
7
+
### Added
8
+
9
+
-**`openai_responses` flavor**: New adapter for the OpenAI Responses API.
10
+
-**`developer` role support**: Messages with `role: "developer"` are now supported. Each adapter coerces the role appropriately for its provider — e.g. mapped to `system` for providers that don't support it natively, preserved as-is for OpenAI flavors.
Copy file name to clipboardExpand all lines: scripts/type-baseline/pyright-baseline.json
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,71 +2,71 @@
2
2
"generalDiagnostics": [
3
3
{
4
4
"file": "src/freeplay/resources/adapters.py",
5
-
"line": 40,
5
+
"line": 87,
6
6
"character": 9,
7
7
"message": "Function with declared return type \"str | List[Dict[str, Any]]\" must return value on all code paths\n\u00a0\u00a0Type \"None\" is not assignable to type \"str | List[Dict[str, Any]]\"\n\u00a0\u00a0\u00a0\u00a0\"None\" is not assignable to \"str\"\n\u00a0\u00a0\u00a0\u00a0\"None\" is not assignable to \"List[Dict[str, Any]]\"",
8
8
"rule": "reportReturnType",
9
9
"severity": "error"
10
10
},
11
11
{
12
12
"file": "src/freeplay/resources/adapters.py",
13
-
"line": 62,
13
+
"line": 113,
14
14
"character": 16,
15
15
"message": "Type of \"append\" is partially unknown\n\u00a0\u00a0Type of \"append\" is \"(object: Unknown, /) -> None\"",
16
16
"rule": "reportUnknownMemberType",
17
17
"severity": "error"
18
18
},
19
19
{
20
20
"file": "src/freeplay/resources/adapters.py",
21
-
"line": 72,
21
+
"line": 123,
22
22
"character": 16,
23
23
"message": "Type of \"append\" is partially unknown\n\u00a0\u00a0Type of \"append\" is \"(object: Unknown, /) -> None\"",
24
24
"rule": "reportUnknownMemberType",
25
25
"severity": "error"
26
26
},
27
27
{
28
28
"file": "src/freeplay/resources/adapters.py",
29
-
"line": 74,
29
+
"line": 125,
30
30
"character": 15,
31
31
"message": "Return type, \"list[Unknown]\", is partially unknown",
32
32
"rule": "reportUnknownVariableType",
33
33
"severity": "error"
34
34
},
35
35
{
36
36
"file": "src/freeplay/resources/adapters.py",
37
-
"line": 95,
37
+
"line": 146,
38
38
"character": 13,
39
39
"message": "Unnecessary isinstance call; \"MediaContentUrl\" is always an instance of \"MediaContentUrl\"",
40
40
"rule": "reportUnnecessaryIsInstance",
41
41
"severity": "error"
42
42
},
43
43
{
44
44
"file": "src/freeplay/resources/adapters.py",
45
-
"line": 115,
45
+
"line": 168,
46
46
"character": 16,
47
47
"message": "Type of \"append\" is partially unknown\n\u00a0\u00a0Type of \"append\" is \"(object: Unknown, /) -> None\"",
48
48
"rule": "reportUnknownMemberType",
49
49
"severity": "error"
50
50
},
51
51
{
52
52
"file": "src/freeplay/resources/adapters.py",
53
-
"line": 125,
53
+
"line": 178,
54
54
"character": 16,
55
55
"message": "Type of \"append\" is partially unknown\n\u00a0\u00a0Type of \"append\" is \"(object: Unknown, /) -> None\"",
56
56
"rule": "reportUnknownMemberType",
57
57
"severity": "error"
58
58
},
59
59
{
60
60
"file": "src/freeplay/resources/adapters.py",
61
-
"line": 127,
61
+
"line": 180,
62
62
"character": 15,
63
63
"message": "Return type, \"list[Unknown]\", is partially unknown",
64
64
"rule": "reportUnknownVariableType",
65
65
"severity": "error"
66
66
},
67
67
{
68
68
"file": "src/freeplay/resources/adapters.py",
69
-
"line": 137,
69
+
"line": 190,
70
70
"character": 13,
71
71
"message": "Unnecessary isinstance call; \"MediaContentUrl\" is always an instance of \"MediaContentUrl\"",
0 commit comments