Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
run: cargo binstall --force --locked cargo-component@0.21.1
- name: Build all test components
run: cargo make build-test-components
ollama-integration-tests:
ollama-llm-integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -115,13 +115,13 @@ jobs:
set -e
docker run -d --name ollama -p 11434:11434 ollama/ollama:latest
timeout 60 bash -c 'until curl -f http://localhost:11434/api/version; do sleep 2; done'
echo "Pulling Qwen2.5:1.5b"
docker exec ollama ollama pull qwen2.5:1.5b
echo "Pulling Gemma2:2b"
docker exec ollama ollama pull gemma2:2b
echo "Pulling qwen3:1.7b"
docker exec ollama ollama pull qwen3:1.7b
echo "Pulling gemma3:4b"
docker exec ollama ollama pull gemma3:4b
echo "Verifying models are available"
docker exec ollama ollama list | grep -q "qwen2.5:1.5b" || exit 1
docker exec ollama ollama list | grep -q "gemma2:2b" || exit 1
docker exec ollama ollama list | grep -q "qwen3:1.7b" || exit 1
docker exec ollama ollama list | grep -q "gemma3:4b" || exit 1
echo "Ollama setup completed."
- name: Install and Run latest Golem Server
run: |
Expand All @@ -137,8 +137,8 @@ jobs:
- name: Build and test Ollama integration
run: |
set -e
cargo make build-ollama
cd test
cargo make build-llm-ollama
cd golem-llm/test
golem-cli app build -b ollama-debug
golem-cli app deploy -b ollama-debug
golem-cli worker new -e GOLEM_OLLAMA_BASE_URL=http://localhost:11434 test:llm/ollama-1
Expand All @@ -153,7 +153,7 @@ jobs:
needs:
- tests
- build-test-components
- ollama-integration-tests
- ollama-llm-integration-tests
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
9 changes: 1 addition & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
[workspace]
resolver = "2"

members = [
"llm",
"llm-anthropic",
"llm-grok",
"llm-ollama",
"llm-openai",
"llm-openrouter",
]
members = [ "golem-llm/llm", "golem-llm/llm-anthropic", "golem-llm/llm-grok", "golem-llm/llm-ollama", "golem-llm/llm-openai", "golem-llm/llm-openrouter"]

[profile.release]
debug = false
Expand Down
Loading
Loading