Introduce shared OpenAI/Ollama wire-format helpers (src/llm/openai-common.ts) and refactor the Ollama adapter to reuse them. Update Ollama client baseURL and API key handling, add example env detection for OLLAMA_BASE_URL and prefer Ollama for the analyst agent when present. Also update types to include 'ollama' in provider unions and adjust readonly annotations. Minor formatting/packaging updates and small cleanup in adapter and example files. |
||
|---|---|---|
| .. | ||
| 01-single-agent.ts | ||
| 02-team-collaboration.ts | ||
| 03-task-pipeline.ts | ||
| 04-multi-model-team.ts | ||