Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
YoanSallami committed Oct 10, 2023
1 parent 4abb1bb commit 08790a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hybridagi/interpreter/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def perform_decision(
context="",
purpose=purpose,
question=question,
prompt=choice)
choice=choice)
encoding = tiktoken.get_encoding("cl100k_base")
num_tokens = len(encoding.encode(decision_prompt))
context = self.working_memory.get_trace(self.fast_llm_max_token-num_tokens)
Expand Down

0 comments on commit 08790a9

Please sign in to comment.