Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mistral_common not found #83

Open
erlebach opened this issue Dec 14, 2024 · 1 comment
Open

mistral_common not found #83

erlebach opened this issue Dec 14, 2024 · 1 comment

Comments

@erlebach
Copy link

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
@woheller69
Copy link
Contributor

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

seems to be a dependency that needs to be installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants