Skip to content

feat: Basic FastAPI setup #28

feat: Basic FastAPI setup

feat: Basic FastAPI setup #28

Triggered via push August 26, 2024 08:07
Status Success
Total duration 51s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

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]