ollama/llm
Bruce MacDonald 3892c3a703
llm: remove internal subprocess req and resp types (#9324)
This commit refactors the LLM subsystem by removing internal subprocess
request and response types. It consolidates duplicate type definitions
across the codebase, moving them to centralized locations. The change also
standardizes interfaces between components, simplifies the ServerStatusResp
struct, and moves the ParseDurationMs function to a common package. This
cleanup reduces code duplication between different runner implementations
(llamarunner and ollamarunner).
2025-03-14 15:21:53 -07:00
..
llm_darwin.go Optimize container images for startup (#6547) 2024-09-12 12:10:30 -07:00
llm_linux.go Optimize container images for startup (#6547) 2024-09-12 12:10:30 -07:00
llm_windows.go runner: Set windows above normal priority (#6905) 2024-09-21 16:54:49 -07:00
memory_test.go config: allow setting context length through env var (#8938) 2025-02-24 13:26:35 -08:00
memory.go count gemma3 vision tensors 2025-03-13 16:34:42 -07:00
server_test.go llm: do not error on "null" format (#8139) 2024-12-17 09:49:37 -08:00
server.go llm: remove internal subprocess req and resp types (#9324) 2025-03-14 15:21:53 -07:00
status.go Improve crash reporting (#7728) 2024-11-19 16:26:57 -08:00