From 2b4ca6cf36c0dc31fdae7046433f4341f171026f Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Wed, 10 Apr 2024 11:26:15 -0700 Subject: [PATCH] fix ci --- .github/workflows/test.yaml | 1 - app/tray/tray.go | 7 +------ examples/go-generate-streaming/main.go | 2 +- examples/go-generate/main.go | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e4242997..26d754a9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,7 +5,6 @@ on: paths: - '**/*' - '!docs/**' - - '!examples/**' - '!README.md' jobs: diff --git a/app/tray/tray.go b/app/tray/tray.go index 20d1c0b5..dfa63435 100644 --- a/app/tray/tray.go +++ b/app/tray/tray.go @@ -24,10 +24,5 @@ func NewTray() (commontray.OllamaTray, error) { return nil, fmt.Errorf("failed to load icon %s: %w", iconName, err) } - tray, err := InitPlatformTray(icon, updateIcon) - if err != nil { - return nil, err - } - - return tray, nil + return InitPlatformTray(icon, updateIcon) } diff --git a/examples/go-generate-streaming/main.go b/examples/go-generate-streaming/main.go index ab7fdc73..49403351 100644 --- a/examples/go-generate-streaming/main.go +++ b/examples/go-generate-streaming/main.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/jmorganca/ollama/api" + "github.com/ollama/ollama/api" ) func main() { diff --git a/examples/go-generate/main.go b/examples/go-generate/main.go index 048da473..50fbf64b 100644 --- a/examples/go-generate/main.go +++ b/examples/go-generate/main.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/jmorganca/ollama/api" + "github.com/ollama/ollama/api" ) func main() {