From 3894d6b2ce1d9730d15e4b3518a98dfae1f22926 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Wed, 28 Aug 2024 11:45:56 +0200 Subject: [PATCH] Bugfix for is_predictable_without_description (#366) --- prediction_market_agent_tooling/tools/is_predictable.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prediction_market_agent_tooling/tools/is_predictable.py b/prediction_market_agent_tooling/tools/is_predictable.py index 57c6d132..74ff80fa 100644 --- a/prediction_market_agent_tooling/tools/is_predictable.py +++ b/prediction_market_agent_tooling/tools/is_predictable.py @@ -143,7 +143,7 @@ def is_predictable_without_description( description=description, ) completion = str( - llm( + llm.invoke( messages, max_tokens=max_tokens, config=get_langfuse_langchain_config() ).content ) diff --git a/pyproject.toml b/pyproject.toml index 270fbf27..09219907 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "prediction-market-agent-tooling" -version = "0.48.5" +version = "0.48.6" description = "Tools to benchmark, deploy and monitor prediction market agents." authors = ["Gnosis"] readme = "README.md"