Fix bugs and logging

This commit is contained in:
Alex Selimov 2025-06-09 22:00:16 -04:00
parent c4c696df5a
commit a373d9ca4e
3 changed files with 14 additions and 20 deletions

View file

@ -2,8 +2,6 @@ from dataclasses import dataclass
from pathlib import Path
from typing import List
from .cli import normalize_server_url
@dataclass(frozen=True)
class OllamaConfig:
@ -30,7 +28,7 @@ def create_ollama_config(
"""Create OllamaConfig with validated parameters."""
return OllamaConfig(
model=model,
server_url=normalize_server_url(server_url),
server_url=server_url,
timeout=timeout,
max_retries=max_retries,
)