Skip to content

Commit 6f3993b

Browse files
Update mixtral_8x22b_agent.py
1 parent b28d986 commit 6f3993b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/llama_cpp_agent/mixtral_8x22b_agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ def get_response(
7070
if self.debug_output:
7171
print(text)
7272
result = self.agent.get_text_response(
73-
text[1:],
73+
text,
7474
llm_sampling_settings=llm_sampling_settings,
7575
print_output=self.debug_output,
7676
)
77-
self.tokenizer_v3.instruct_tokenizer.tokenizer.get_control_token()
7877
if result.strip().startswith("[TOOL_CALLS]"):
7978
tool_calls = []
8079

0 commit comments

Comments
 (0)