llama-cpp-agent icon indicating copy to clipboard operation
llama-cpp-agent copied to clipboard

mistral_common not found

Open erlebach opened this issue 1 year ago • 1 comments

In the file: function_calling.py in folder: llama-cpp-agent/src/llama_cpp_agent/, one finds the lines:

8:from mistral_common.protocol.instruct.messages import (
14:from mistral_common.protocol.instruct.request import ChatCompletionRequest
15:from mistral_common.protocol.instruct.tool_calls import ToolCall, FunctionCall
16:from mistral_common.tokens.tokenizers.mistral import MistralTokenizer

However, I cannot find where mistral_common is defined. It is neither a file name or a class or a variable name. Can you please help?

I looked into this issue when the example 06_Special_Agents/experimental_mixtral_8x22b_agent.py failed to execute. Is there documentation of Llama-cpp-agent besides just a list of examples? Thanks. I look forward to future improvements.

Gordon

erlebach avatar Dec 14 '24 16:12 erlebach

https://github.com/Maximilian-Winter/llama-cpp-agent/blob/master/pyproject.toml

seems to be a dependency that needs to be installed

woheller69 avatar Dec 15 '24 08:12 woheller69