Skip to content

test(provider): add Ollama provider tests#388

Open
doozie-akshay wants to merge 1 commit intoKilo-Org:devfrom
doozie-akshay:fix/154-part3-ollama-docs
Open

test(provider): add Ollama provider tests#388
doozie-akshay wants to merge 1 commit intoKilo-Org:devfrom
doozie-akshay:fix/154-part3-ollama-docs

Conversation

@doozie-akshay
Copy link

Summary

Part 3 of #154 - Documentation and tests

  • Tests for auto-registered default models (llama3.2, llama3.1, mistral)
  • Tests for custom baseURL configuration
  • Tests for API key authentication
  • Tests for zero cost models
  • Tests for provider disabling

Changes

  • packages/opencode/test/provider/ollama.test.ts - New test file

Test Coverage

  • ✅ Auto-registration with default models
  • ✅ Custom baseURL from config
  • ✅ API key for secured instances
  • ✅ Zero cost verification
  • ✅ Provider can be disabled

Fixes #154 (part 3)

Part 3 of Kilo-Org#154 - Documentation and tests

- Tests for auto-registered default models (llama3.2, llama3.1, mistral)
- Tests for custom baseURL configuration
- Tests for API key authentication
- Tests for zero cost models
- Tests for provider disabling

Fixes Kilo-Org#154 (part 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add Ollama/Local Model Provider Support

1 participant