Skip to content

Commit

Permalink
change requirements a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyupallavisudhir committed Dec 2, 2024
1 parent 6fdb94d commit 5d3e182
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 191 deletions.
258 changes: 77 additions & 181 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "costly"
version = "2.2.3"
version = "2.2.4"
description = "Estimate costs and running times of complex LLM workflows/experiments/pipelines in advance before spending money, via simulations."
authors = ["abhimanyu <[email protected]>"]
readme = "README.md"
Expand All @@ -18,7 +18,7 @@ pytest-asyncio = "^0.23.7"
pytest-env = "^1.1.3"
pytest-mock = "^3.14.0"
openai = "^1.45.1"
instructor = "^1.5.1"
instructor = "1.4.2"

[build-system]
requires = ["poetry-core"]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_costlog.jsonl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{"cost": "Hello", "time": 0.08011129100032122}
{"cost": "Hello", "time": 0.12022674399941025}
{"cost": "Hello", "time": 0.0801294759985467}
{"cost": "Hello", "time": 0.12014020100104972}
2 changes: 1 addition & 1 deletion tests/test_costlog.totals.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"time": 0.20033803499973146
"time": 0.2002696769995964
}
2 changes: 1 addition & 1 deletion tests/test_costlog.totals_by_model.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__UNKNOWN__": {
"time": 0.20033803499973146
"time": 0.2002696769995964
}
}
4 changes: 2 additions & 2 deletions tests/test_costlog_async.jsonl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{"cost": "Hello", "time": 0.08021417599957203}
{"cost": "Hello", "time": 0.12044031200002792}
{"cost": "Hello", "time": 0.08034714500172413}
{"cost": "Hello", "time": 0.12028105799981859}
2 changes: 1 addition & 1 deletion tests/test_costlog_async.totals.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"time": 0.20065448799959995
"time": 0.20062820300154272
}
2 changes: 1 addition & 1 deletion tests/test_costlog_async.totals_by_model.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"__UNKNOWN__": {
"time": 0.20065448799959995
"time": 0.20062820300154272
}
}

0 comments on commit 5d3e182

Please sign in to comment.