commit
c5c451ca3b
4 changed files with 3 additions and 9 deletions
1
.github/workflows/test.yaml
vendored
1
.github/workflows/test.yaml
vendored
|
@ -5,7 +5,6 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- '**/*'
|
- '**/*'
|
||||||
- '!docs/**'
|
- '!docs/**'
|
||||||
- '!examples/**'
|
|
||||||
- '!README.md'
|
- '!README.md'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -24,10 +24,5 @@ func NewTray() (commontray.OllamaTray, error) {
|
||||||
return nil, fmt.Errorf("failed to load icon %s: %w", iconName, err)
|
return nil, fmt.Errorf("failed to load icon %s: %w", iconName, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
tray, err := InitPlatformTray(icon, updateIcon)
|
return InitPlatformTray(icon, updateIcon)
|
||||||
if err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
return tray, nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/jmorganca/ollama/api"
|
"github.com/ollama/ollama/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/jmorganca/ollama/api"
|
"github.com/ollama/ollama/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in a new issue