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
4aa0976a
Unverified
Commit
4aa0976a
authored
Sep 28, 2023
by
Luc Stepniewski
Committed by
GitHub
Sep 28, 2023
Browse files
Added missing return preventing SIGSEGV because of missing resp (#621)
Co-authored-by:
Luc Stepniewski
<
luc@eclipse-fr.com
>
parent
92c20fda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cmd/cmd.go
cmd/cmd.go
+1
-0
No files found.
cmd/cmd.go
View file @
4aa0976a
...
...
@@ -647,6 +647,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {
resp
,
err
:=
server
.
GetModelInfo
(
model
)
if
err
!=
nil
{
fmt
.
Println
(
"error: couldn't get model"
)
return
err
}
switch
args
[
1
]
{
...
...
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