Skip to content

Commit

Permalink
CTX-5783: Fixed linter error (translation-ollama)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vuk Manojlovic committed Aug 14, 2024
1 parent f19db18 commit 5ab69a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/translation-ollama/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def main() -> None:
"role": "user",
"content": query
}
response = ollama.chat(model = LLM, messages = [msg])
response = ollama.chat(model = LLM, messages = [msg]) # type: ignore[list-item]
answer = response["message"]["content"]
translatedText += answer + "\n"

Expand Down

0 comments on commit 5ab69a0

Please sign in to comment.