Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = ["src/copra"]

[project]
name = "copra-theorem-prover"
version = "1.1.16"
version = "1.1.17"
authors = [
{ name="Amitayush Thakur", email="[email protected]" },
]
Expand All @@ -24,7 +24,7 @@ classifiers = [
]

dependencies = [
"itp-interface>=1.1.14",
"itp-interface==1.1.14",
"openai>=1.99.1",
"tiktoken>=0.12.0", # Updated: 0.4.0 incompatible with Python 3.14t, needs PyO3 0.23+ for free-threading
"sentencepiece>=0.2.0", # Updated: 0.1.99 lacks Python 3.14t wheels, 0.2.1 has cp314t support
Expand Down
4 changes: 2 additions & 2 deletions src/copra/gpts/gpt_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def __init__(self,
if self.is_vllm_model:
# vLLM models don't need secrets, they use ENV variable for base_url
self.secret_filepath = None
self.api_key = "EMPTY" # vLLM doesn't require a real API key
self.api_key = os.environ.get("VLLM_API_KEY", "EMPTY") # vLLM doesn't require a real API key
elif secret_filepath is None:
# Use the default secret filepath based on the model name.
assert model_name in self.secret_filepath_map, (
Expand Down Expand Up @@ -663,4 +663,4 @@ def test_gpt5_mini_model(self):
self._run_chat_test("gpt-5-mini", token_count=100)

if __name__ == "__main__":
unittest.main()
unittest.main()