- Added OllamaClient to handle conversations with the Ollama API. - Introduced OllamaDialect for managing thinking modes. - Created data classes: OllamaFunctionCall, OllamaListedModel, OllamaMessage, OllamaShowRequest, OllamaShowResponse, OllamaTagsResponse, OllamaToolCall, OllamaToolDefinition, and OllamaToolFunction for structured API communication. - Developed unit tests for OllamaClient to validate model listing, chat completion, streaming responses, and tool calling capabilities. - Configured test properties for local Ollama instance.
16 lines
285 B
INI
16 lines
285 B
INI
category=OLLAMA
|
|
prompts=
|
|
tokenizer=fallback
|
|
tokenEncoding=cl100k_base
|
|
maxTokens=2500
|
|
maxContextLength=32768
|
|
temperature=0.3
|
|
topP=0.95
|
|
modelProvider=OLLAMA
|
|
modelName=
|
|
url=http://localhost:11434
|
|
apiKey=
|
|
cost1MInTokens=0
|
|
cost1MCachedInTokens=0
|
|
cost1MOutTokens=0
|
|
cost1MReasoningOutTokens=0 |