feat: Basic FastAPI setup #28
Annotations
2 errors
mypy:
libertai_agents/models/mistral.py#L11
[mypy] reported by reviewdog 🐶
Argument "model_id" to "__init__" of "Model" has incompatible type "str"; expected "Literal['NousResearch/Hermes-2-Pro-Llama-3-8B', 'NousResearch/Hermes-3-Llama-3.1-8B', 'mistralai/Mistral-Nemo-Instruct-2407']" [arg-type]
Raw Output:
/home/runner/work/libertai-agents/libertai-agents/libertai_agents/models/mistral.py:11:35: error: Argument "model_id" to "__init__" of "Model" has incompatible type "str"; expected "Literal['NousResearch/Hermes-2-Pro-Llama-3-8B', 'NousResearch/Hermes-3-Llama-3.1-8B', 'mistralai/Mistral-Nemo-Instruct-2407']" [arg-type]
|
mypy:
libertai_agents/models/hermes.py#L10
[mypy] reported by reviewdog 🐶
Argument "model_id" to "__init__" of "Model" has incompatible type "str"; expected "Literal['NousResearch/Hermes-2-Pro-Llama-3-8B', 'NousResearch/Hermes-3-Llama-3.1-8B', 'mistralai/Mistral-Nemo-Instruct-2407']" [arg-type]
Raw Output:
/home/runner/work/libertai-agents/libertai-agents/libertai_agents/models/hermes.py:10:35: error: Argument "model_id" to "__init__" of "Model" has incompatible type "str"; expected "Literal['NousResearch/Hermes-2-Pro-Llama-3-8B', 'NousResearch/Hermes-3-Llama-3.1-8B', 'mistralai/Mistral-Nemo-Instruct-2407']" [arg-type]
|