Skip to content

Commit

Permalink
Move cost collector away from the llm dir
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jun 8, 2024
1 parent f91abf8 commit 8c5d5fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion odds/common/embedder/openai/openai_embedder.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ...datatypes import Embedding

from ..embedder import Embedder
from ...llm.cost_collector import CostCollector
from ...cost_collector import CostCollector
from ...config import config
from ...retry import Retry

Expand Down
2 changes: 1 addition & 1 deletion odds/common/llm/llm_runner.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .llm_query import LLMQuery
from .llm_cache import LLMCache
from .cost_collector import CostCollector
from ..cost_collector import CostCollector

class LLMRunner:

Expand Down
2 changes: 1 addition & 1 deletion test_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from odds.common.store import store
from odds.common.embedder import embedder
from odds.common.catalog_repo import catalog_repo
from odds.common.llm.cost_collector import CostCollector
from odds.common.cost_collector import CostCollector
from odds.common.llm.openai.openai_llm_runner import OpenAILLMRunner
import sqlite3

Expand Down

0 comments on commit 8c5d5fe

Please sign in to comment.