fix: resolve CI lint and type errors
Some checks failed
CI/CD / lint-and-test (push) Failing after 14s
Some checks failed
CI/CD / lint-and-test (push) Failing after 14s
This commit is contained in:
@@ -94,7 +94,7 @@ class OllamaProvider(LLMProvider):
|
||||
except Exception as e:
|
||||
raise RuntimeError(f"Ollama async generation failed: {e}") from None
|
||||
|
||||
async def stream_generate(self, prompt: str, **kwargs) -> AsyncIterator[str]:
|
||||
async def stream_generate(self, prompt: str, **kwargs) -> AsyncIterator[str]: # type: ignore[misc]
|
||||
try:
|
||||
max_tokens = kwargs.get("max_tokens", 2048)
|
||||
temperature = kwargs.get("temperature", 0.3)
|
||||
|
||||
Reference in New Issue
Block a user