Skip to content

Commit f29d889

Browse files
authored
Merge branch 'main' into feature/memory-efficient-embed-streaming
2 parents 06a9eb0 + dcd81d8 commit f29d889

30 files changed

Lines changed: 2327 additions & 666 deletions

.fern/metadata.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"cliVersion": "3.86.0",
2+
"cliVersion": "4.48.0",
33
"generatorName": "fernapi/fern-python-sdk",
4-
"generatorVersion": "4.55.4",
4+
"generatorVersion": "4.63.4",
55
"generatorConfig": {
66
"pyproject_python_version": "^3.9",
77
"inline_request_params": false,
@@ -79,5 +79,6 @@
7979
}
8080
]
8181
},
82-
"sdkVersion": "5.20.7"
82+
"originGitCommit": "40f3fd11b9fd6b445b024a2fcf6f2e67f6181147",
83+
"sdkVersion": "5.21.2"
8384
}

.github/workflows/ci.yml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -42,58 +42,6 @@ jobs:
4242
run: poetry run pytest .
4343
env:
4444
CO_API_KEY: ${{ secrets.COHERE_API_KEY }}
45-
46-
test-langchain-cohere:
47-
runs-on: ubuntu-latest
48-
steps:
49-
- name: Checkout repo
50-
uses: actions/checkout@v3
51-
- name: Set up python
52-
uses: actions/setup-python@v4
53-
with:
54-
python-version: 3.10.14
55-
- name: Install and configure Poetry
56-
uses: snok/install-poetry@v1
57-
with:
58-
version: 1.5.1
59-
virtualenvs-in-project: false
60-
- name: Install dependencies
61-
run: poetry install
62-
- name: Test langchain-cohere
63-
run: |
64-
echo "Initial dir $(pwd)"
65-
cd ..
66-
echo "Cloning langchain-cohere..."
67-
git clone https://github.com/langchain-ai/langchain-cohere.git && cd langchain-cohere/libs/cohere
68-
echo "Cloned langchain-cohere, current dir $(pwd)"
69-
70-
echo "poetry install --with test,test_integration"
71-
poetry install --with test,test_integration
72-
73-
echo "Going to uninstall cohere package, and install the current version from the repo"
74-
75-
poetry remove cohere
76-
poetry add ../../../cohere-python
77-
78-
echo "Current cohere installation: $(poetry show cohere)"
79-
make test
80-
make integration_test
81-
echo "tests passed"
82-
83-
# reset poetry changes
84-
git checkout -- poetry.lock pyproject.toml
85-
86-
set -eu
87-
88-
STATUS="$(git status)"
89-
echo "$STATUS"
90-
91-
# grep will exit non-zero if the target message isn't found,
92-
# and `set -e` above will cause the step to fail.
93-
echo "$STATUS" | grep 'nothing to commit, working tree clean'
94-
env:
95-
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
96-
9745
publish:
9846
needs: [compile, test]
9947
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')

poetry.lock

Lines changed: 221 additions & 217 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "cohere"
7-
version = "5.20.7"
7+
version = "5.21.2"
88
description = ""
99
readme = "README.md"
1010
authors = []

0 commit comments

Comments
 (0)