Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
2b4ca6cf
Commit
2b4ca6cf
authored
Apr 10, 2024
by
Michael Yang
Browse files
fix ci
parent
ad90b9ab
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
.github/workflows/test.yaml
.github/workflows/test.yaml
+0
-1
app/tray/tray.go
app/tray/tray.go
+1
-6
examples/go-generate-streaming/main.go
examples/go-generate-streaming/main.go
+1
-1
examples/go-generate/main.go
examples/go-generate/main.go
+1
-1
No files found.
.github/workflows/test.yaml
View file @
2b4ca6cf
...
@@ -5,7 +5,6 @@ on:
...
@@ -5,7 +5,6 @@ on:
paths
:
paths
:
-
'
**/*'
-
'
**/*'
-
'
!docs/**'
-
'
!docs/**'
-
'
!examples/**'
-
'
!README.md'
-
'
!README.md'
jobs
:
jobs
:
...
...
app/tray/tray.go
View file @
2b4ca6cf
...
@@ -24,10 +24,5 @@ func NewTray() (commontray.OllamaTray, error) {
...
@@ -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
}
}
examples/go-generate-streaming/main.go
View file @
2b4ca6cf
...
@@ -5,7 +5,7 @@ import (
...
@@ -5,7 +5,7 @@ import (
"fmt"
"fmt"
"log"
"log"
"github.com/
jmorganc
a/ollama/api"
"github.com/
ollam
a/ollama/api"
)
)
func
main
()
{
func
main
()
{
...
...
examples/go-generate/main.go
View file @
2b4ca6cf
...
@@ -5,7 +5,7 @@ import (
...
@@ -5,7 +5,7 @@ import (
"fmt"
"fmt"
"log"
"log"
"github.com/
jmorganc
a/ollama/api"
"github.com/
ollam
a/ollama/api"
)
)
func
main
()
{
func
main
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment