Skip to content

Commit 705d738

Browse files
committed
notiktoken
1 parent b50d0f4 commit 705d738

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

.github/workflows/test-integrations-ai.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
run: |
6363
set -x # print commands that are executed
6464
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-latest"
65+
- name: Test langchain-notiktoken latest
66+
run: |
67+
set -x # print commands that are executed
68+
./scripts/runtox.sh "py${{ matrix.python-version }}-langchain-notiktoken-latest"
6569
- name: Test openai latest
6670
run: |
6771
set -x # print commands that are executed
@@ -137,6 +141,10 @@ jobs:
137141
run: |
138142
set -x # print commands that are executed
139143
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain"
144+
- name: Test langchain-notiktoken pinned
145+
run: |
146+
set -x # print commands that are executed
147+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-langchain-notiktoken"
140148
- name: Test openai pinned
141149
run: |
142150
set -x # print commands that are executed

scripts/split_tox_gh_actions/split_tox_gh_actions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"anthropic",
5959
"cohere",
6060
"langchain",
61+
"langchain-notiktoken",
6162
"openai",
6263
"huggingface_hub",
6364
],

tox.ini

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# The file (and all resulting CI YAMLs) then need to be regenerated via
1111
# "scripts/generate-test-files.sh".
1212
#
13-
# Last generated: 2025-04-29T08:56:03.998318+00:00
13+
# Last generated: 2025-04-29T10:30:10.128741+00:00
1414

1515
[tox]
1616
requires =
@@ -144,6 +144,11 @@ envlist =
144144
{py3.9,py3.11,py3.12}-langchain-v0.2.17
145145
{py3.9,py3.12,py3.13}-langchain-v0.3.24
146146

147+
{py3.9,py3.10,py3.11}-langchain-notiktoken-v0.0.354
148+
{py3.9,py3.11,py3.12}-langchain-notiktoken-v0.1.20
149+
{py3.9,py3.11,py3.12}-langchain-notiktoken-v0.2.17
150+
{py3.9,py3.12,py3.13}-langchain-notiktoken-v0.3.24
151+
147152
{py3.8,py3.10,py3.11}-huggingface_hub-v0.22.2
148153
{py3.8,py3.10,py3.11}-huggingface_hub-v0.25.2
149154
{py3.8,py3.12,py3.13}-huggingface_hub-v0.28.1
@@ -509,6 +514,12 @@ deps =
509514
langchain-v0.2.17: langchain-community
510515
langchain-v0.3.24: langchain-community
511516

517+
langchain-notiktoken-v0.0.354: langchain==0.0.354
518+
langchain-notiktoken-v0.1.20: langchain==0.1.20
519+
langchain-notiktoken-v0.2.17: langchain==0.2.17
520+
langchain-notiktoken-v0.3.24: langchain==0.3.24
521+
langchain-notiktoken: langchain-openai
522+
512523
huggingface_hub-v0.22.2: huggingface_hub==0.22.2
513524
huggingface_hub-v0.25.2: huggingface_hub==0.25.2
514525
huggingface_hub-v0.28.1: huggingface_hub==0.28.1

0 commit comments

Comments
 (0)