Skip to content

Commit 439cc4a

Browse files
committed
feat(openai): add parse hooks for chat completions and responses
1 parent 09b54db commit 439cc4a

File tree

13 files changed

+379
-136
lines changed

13 files changed

+379
-136
lines changed

.riot/requirements/d69b745.txt renamed to .riot/requirements/1d30a5c.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/d69b745.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1d30a5c.in
66
#
77
annotated-types==0.7.0
8-
anyio==4.9.0
9-
attrs==25.3.0
10-
certifi==2025.6.15
11-
charset-normalizer==3.4.2
12-
coverage[toml]==7.9.1
8+
anyio==4.11.0
9+
attrs==25.4.0
10+
certifi==2025.10.5
11+
charset-normalizer==3.4.3
12+
coverage[toml]==7.10.7
1313
distro==1.9.0
1414
exceptiongroup==1.3.0
1515
h11==0.16.0
@@ -19,35 +19,35 @@ hypothesis==6.45.0
1919
idna==3.10
2020
importlib-metadata==8.7.0
2121
iniconfig==2.1.0
22-
jiter==0.10.0
22+
jiter==0.11.0
2323
mock==5.2.0
24-
multidict==6.5.0
25-
openai==1.91.0
24+
multidict==6.7.0
25+
openai==1.109.1
2626
opentracing==2.4.0
2727
packaging==25.0
28-
pillow==11.2.1
28+
pillow==11.3.0
2929
pluggy==1.6.0
30-
propcache==0.3.2
31-
pydantic==2.11.7
32-
pydantic-core==2.33.2
30+
propcache==0.4.0
31+
pydantic==2.12.0
32+
pydantic-core==2.41.1
3333
pygments==2.19.2
34-
pytest==8.4.1
34+
pytest==8.4.2
3535
pytest-asyncio==0.21.1
36-
pytest-cov==6.2.1
37-
pytest-mock==3.14.1
38-
pytest-randomly==3.16.0
39-
pyyaml==6.0.2
40-
regex==2024.11.6
41-
requests==2.32.4
36+
pytest-cov==7.0.0
37+
pytest-mock==3.15.1
38+
pytest-randomly==4.0.1
39+
pyyaml==6.0.3
40+
regex==2025.9.18
41+
requests==2.32.5
4242
sniffio==1.3.1
4343
sortedcontainers==2.4.0
44-
tiktoken==0.9.0
44+
tiktoken==0.12.0
4545
tomli==2.2.1
4646
tqdm==4.67.1
47-
typing-extensions==4.14.0
48-
typing-inspection==0.4.1
47+
typing-extensions==4.15.0
48+
typing-inspection==0.4.2
4949
urllib3==1.26.20
5050
vcrpy==7.0.0
51-
wrapt==1.17.2
52-
yarl==1.20.1
51+
wrapt==1.17.3
52+
yarl==1.22.0
5353
zipp==3.23.0

.riot/requirements/1106709.txt renamed to .riot/requirements/5f016ad.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,48 @@
22
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1106709.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/5f016ad.in
66
#
77
annotated-types==0.7.0
8-
anyio==4.9.0
9-
attrs==25.3.0
10-
certifi==2025.6.15
11-
charset-normalizer==3.4.2
12-
coverage[toml]==7.9.1
8+
anyio==4.11.0
9+
attrs==25.4.0
10+
certifi==2025.10.5
11+
charset-normalizer==3.4.3
12+
coverage[toml]==7.10.7
1313
distro==1.9.0
1414
h11==0.16.0
1515
httpcore==1.0.9
1616
httpx==0.28.1
1717
hypothesis==6.45.0
1818
idna==3.10
1919
iniconfig==2.1.0
20-
jiter==0.10.0
20+
jiter==0.11.0
2121
mock==5.2.0
22-
multidict==6.5.0
23-
openai==1.91.0
22+
multidict==6.7.0
23+
openai==1.109.1
2424
opentracing==2.4.0
2525
packaging==25.0
26-
pillow==11.2.1
26+
pillow==11.3.0
2727
pluggy==1.6.0
28-
propcache==0.3.2
29-
pydantic==2.11.7
30-
pydantic-core==2.33.2
28+
propcache==0.4.0
29+
pydantic==2.12.0
30+
pydantic-core==2.41.1
3131
pygments==2.19.2
32-
pytest==8.4.1
32+
pytest==8.4.2
3333
pytest-asyncio==0.21.1
34-
pytest-cov==6.2.1
35-
pytest-mock==3.14.1
36-
pytest-randomly==3.16.0
37-
pyyaml==6.0.2
38-
regex==2024.11.6
39-
requests==2.32.4
34+
pytest-cov==7.0.0
35+
pytest-mock==3.15.1
36+
pytest-randomly==4.0.1
37+
pyyaml==6.0.3
38+
regex==2025.9.18
39+
requests==2.32.5
4040
sniffio==1.3.1
4141
sortedcontainers==2.4.0
42-
tiktoken==0.9.0
42+
tiktoken==0.12.0
4343
tqdm==4.67.1
44-
typing-extensions==4.14.0
45-
typing-inspection==0.4.1
44+
typing-extensions==4.15.0
45+
typing-inspection==0.4.2
4646
urllib3==1.26.20
4747
vcrpy==7.0.0
48-
wrapt==1.17.2
49-
yarl==1.20.1
48+
wrapt==1.17.3
49+
yarl==1.22.0

.riot/requirements/1093ff3.txt renamed to .riot/requirements/66e0a12.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1093ff3.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/66e0a12.in
66
#
77
annotated-types==0.7.0
88
anyio==4.5.2
99
attrs==25.3.0
10-
certifi==2025.6.15
11-
charset-normalizer==3.4.2
10+
certifi==2025.10.5
11+
charset-normalizer==3.4.3
1212
coverage[toml]==7.6.1
1313
distro==1.9.0
1414
exceptiongroup==1.3.0
@@ -22,7 +22,7 @@ iniconfig==2.1.0
2222
jiter==0.9.1
2323
mock==5.2.0
2424
multidict==6.1.0
25-
openai==1.91.0
25+
openai==1.109.1
2626
opentracing==2.4.0
2727
packaging==25.0
2828
pillow==10.4.0
@@ -35,7 +35,7 @@ pytest-asyncio==0.21.1
3535
pytest-cov==5.0.0
3636
pytest-mock==3.14.1
3737
pytest-randomly==3.15.0
38-
pyyaml==6.0.2
38+
pyyaml==6.0.3
3939
regex==2024.11.6
4040
requests==2.32.4
4141
sniffio==1.3.1
@@ -46,6 +46,6 @@ tqdm==4.67.1
4646
typing-extensions==4.13.2
4747
urllib3==1.26.20
4848
vcrpy==6.0.2
49-
wrapt==1.17.2
49+
wrapt==1.17.3
5050
yarl==1.15.2
5151
zipp==3.20.2

.riot/requirements/8106f0c.txt renamed to .riot/requirements/75757f2.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,48 @@
22
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/8106f0c.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/75757f2.in
66
#
77
annotated-types==0.7.0
8-
anyio==4.9.0
9-
attrs==25.3.0
10-
certifi==2025.6.15
11-
charset-normalizer==3.4.2
12-
coverage[toml]==7.9.1
8+
anyio==4.11.0
9+
attrs==25.4.0
10+
certifi==2025.10.5
11+
charset-normalizer==3.4.3
12+
coverage[toml]==7.10.7
1313
distro==1.9.0
1414
h11==0.16.0
1515
httpcore==1.0.9
1616
httpx==0.28.1
1717
hypothesis==6.45.0
1818
idna==3.10
1919
iniconfig==2.1.0
20-
jiter==0.10.0
20+
jiter==0.11.0
2121
mock==5.2.0
22-
multidict==6.5.0
23-
openai==1.91.0
22+
multidict==6.7.0
23+
openai==1.109.1
2424
opentracing==2.4.0
2525
packaging==25.0
26-
pillow==11.2.1
26+
pillow==11.3.0
2727
pluggy==1.6.0
28-
propcache==0.3.2
29-
pydantic==2.11.7
30-
pydantic-core==2.33.2
28+
propcache==0.4.0
29+
pydantic==2.12.0
30+
pydantic-core==2.41.1
3131
pygments==2.19.2
32-
pytest==8.4.1
32+
pytest==8.4.2
3333
pytest-asyncio==0.21.1
34-
pytest-cov==6.2.1
35-
pytest-mock==3.14.1
36-
pytest-randomly==3.16.0
37-
pyyaml==6.0.2
38-
regex==2024.11.6
39-
requests==2.32.4
34+
pytest-cov==7.0.0
35+
pytest-mock==3.15.1
36+
pytest-randomly==4.0.1
37+
pyyaml==6.0.3
38+
regex==2025.9.18
39+
requests==2.32.5
4040
sniffio==1.3.1
4141
sortedcontainers==2.4.0
42-
tiktoken==0.9.0
42+
tiktoken==0.12.0
4343
tqdm==4.67.1
44-
typing-extensions==4.14.0
45-
typing-inspection==0.4.1
44+
typing-extensions==4.15.0
45+
typing-inspection==0.4.2
4646
urllib3==1.26.20
4747
vcrpy==7.0.0
48-
wrapt==1.17.2
49-
yarl==1.20.1
48+
wrapt==1.17.3
49+
yarl==1.22.0

.riot/requirements/aaf592c.txt renamed to .riot/requirements/9a08ceb.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/aaf592c.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/9a08ceb.in
66
#
77
annotated-types==0.7.0
8-
anyio==4.9.0
9-
attrs==25.3.0
10-
certifi==2025.6.15
11-
charset-normalizer==3.4.2
12-
coverage[toml]==7.9.1
8+
anyio==4.11.0
9+
attrs==25.4.0
10+
certifi==2025.10.5
11+
charset-normalizer==3.4.3
12+
coverage[toml]==7.10.7
1313
distro==1.9.0
1414
exceptiongroup==1.3.0
1515
h11==0.16.0
@@ -18,34 +18,34 @@ httpx==0.28.1
1818
hypothesis==6.45.0
1919
idna==3.10
2020
iniconfig==2.1.0
21-
jiter==0.10.0
21+
jiter==0.11.0
2222
mock==5.2.0
23-
multidict==6.5.0
24-
openai==1.91.0
23+
multidict==6.7.0
24+
openai==1.109.1
2525
opentracing==2.4.0
2626
packaging==25.0
27-
pillow==11.2.1
27+
pillow==11.3.0
2828
pluggy==1.6.0
29-
propcache==0.3.2
30-
pydantic==2.11.7
31-
pydantic-core==2.33.2
29+
propcache==0.4.0
30+
pydantic==2.12.0
31+
pydantic-core==2.41.1
3232
pygments==2.19.2
33-
pytest==8.4.1
33+
pytest==8.4.2
3434
pytest-asyncio==0.21.1
35-
pytest-cov==6.2.1
36-
pytest-mock==3.14.1
37-
pytest-randomly==3.16.0
38-
pyyaml==6.0.2
39-
regex==2024.11.6
40-
requests==2.32.4
35+
pytest-cov==7.0.0
36+
pytest-mock==3.15.1
37+
pytest-randomly==4.0.1
38+
pyyaml==6.0.3
39+
regex==2025.9.18
40+
requests==2.32.5
4141
sniffio==1.3.1
4242
sortedcontainers==2.4.0
43-
tiktoken==0.9.0
43+
tiktoken==0.12.0
4444
tomli==2.2.1
4545
tqdm==4.67.1
46-
typing-extensions==4.14.0
47-
typing-inspection==0.4.1
46+
typing-extensions==4.15.0
47+
typing-inspection==0.4.2
4848
urllib3==1.26.20
4949
vcrpy==7.0.0
50-
wrapt==1.17.2
51-
yarl==1.20.1
50+
wrapt==1.17.3
51+
yarl==1.22.0

0 commit comments

Comments
 (0)