diff --git a/app/src/server/utils/openai.ts b/app/src/server/utils/openai.ts index e8eaac0..63b194a 100644 --- a/app/src/server/utils/openai.ts +++ b/app/src/server/utils/openai.ts @@ -27,3 +27,4 @@ try { // export const openai = env.OPENPIPE_API_KEY ? new OpenAI.OpenAI(config) : new OriginalOpenAI(config); export const openai = new OpenAI(config); +` \ No newline at end of file diff --git a/client-libs/python/openpipe/shared.py b/client-libs/python/openpipe/shared.py index c2a958f..bf17af9 100644 --- a/client-libs/python/openpipe/shared.py +++ b/client-libs/python/openpipe/shared.py @@ -6,11 +6,11 @@ from openpipe.api_client.client import AuthenticatedClient from openpipe.api_client.models.report_json_body_tags import ( ReportJsonBodyTags, ) -import toml import time import os -version = toml.load("pyproject.toml")["tool"]["poetry"]["version"] +# TODO: sync with pyproject.toml +version = "3.0.3" configured_client = AuthenticatedClient( base_url="https://app.openpipe.ai/api/v1", token="" diff --git a/client-libs/python/pyproject.toml b/client-libs/python/pyproject.toml index 20e876f..95165a9 100644 --- a/client-libs/python/pyproject.toml +++ b/client-libs/python/pyproject.toml @@ -1,12 +1,13 @@ [tool.poetry] name = "openpipe" -version = "3.0.1" +version = "3.0.3" description = "Python client library for the OpenPipe service" authors = ["Kyle Corbitt "] license = "Apache-2.0" readme = "README.md" homepage = "https://github.com/OpenPipe/OpenPipe" repository = "https://github.com/OpenPipe/OpenPipe" +include = ["pyproject.toml"] [tool.poetry.dependencies] python = "^3.9"