Skip to content

Commit

Permalink
Explicit Python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
uogbuji committed Jun 24, 2024
1 parent 07f3fb6 commit 0c07111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pylib/llm_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ async def __call__(self, prompt, api_func=None, **kwargs):
kwargs (dict, optional): Extra parameters to pass to the model via API.
See Completions.create in OpenAI API, but in short, these:
best_of, echo, frequency_penalty, logit_bias, logprobs, max_tokens, n
presence_penalty, seed, stop, stream, suffix, temperature, top_p, user
q
presence_penalty, seed, stop, stream, suffix, temperature, top_p, userq
Returns:
dict: JSON response from the LLM
'''
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"openai>=1.1.0",
"python-dotenv",
"tomli",
"amara3.iri"
]
Expand Down Expand Up @@ -78,7 +78,7 @@ cov = [
]

[[tool.hatch.envs.all.matrix]]
python = ["3.10", "3.11"]
python = ["3.10", "3.11", "3.12"]

[tool.hatch.envs.lint]
detached = true
Expand Down

0 comments on commit 0c07111

Please sign in to comment.