Skip to content

Commit

Permalink
chore: bump to 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Sep 11, 2023
1 parent 6ef08da commit daae250
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions kani/engines/openai/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ async def create_completion(
best_of: int = 1,
logit_bias: dict = None,
user: str = None,
) -> Completion:
...
) -> Completion: ...

async def create_completion(self, model: str, **kwargs) -> Completion:
data = await self.post("/completions", json={"model": model, **kwargs})
Expand All @@ -120,8 +119,7 @@ async def create_chat_completion(
frequency_penalty: float = 0.0,
logit_bias: dict | None = None,
user: str | None = None,
) -> ChatCompletion:
...
) -> ChatCompletion: ...

async def create_chat_completion(
self,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "kani"
version = "0.3.0"
version = "0.3.1"
authors = [
{ name = "Andrew Zhu", email = "[email protected]" },
]
Expand All @@ -17,7 +17,7 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
# https://pypi.org/classifiers/
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
Expand Down

0 comments on commit daae250

Please sign in to comment.