Ollama API Client
-
Task 38: Ollama API Client
- Create a test file:
src/morpheum-bot/ollamaClient.test.ts. Write a failing test that attempts to send a prompt to a mock Ollama API endpoint. - Create the client module:
src/morpheum-bot/ollamaClient.ts. - Implement a function to send a system prompt and conversation history to a specified model via the Ollama API.
- Make the test pass.
- Create a test file:
Morpheum