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
df07e4a0
"tests/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "1db3967e860569c1501af4bff6c0964dec402289"
Unverified
Commit
df07e4a0
authored
Nov 20, 2023
by
Jeffrey Morgan
Committed by
GitHub
Nov 20, 2023
Browse files
remove redundant filename parameter (#1213)
parent
0b7ade0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmd/cmd.go
cmd/cmd.go
+1
-1
No files found.
cmd/cmd.go
View file @
df07e4a0
...
...
@@ -132,7 +132,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error {
return
nil
}
request
:=
api
.
CreateRequest
{
Name
:
args
[
0
],
Path
:
filename
,
Modelfile
:
string
(
modelfile
)}
request
:=
api
.
CreateRequest
{
Name
:
args
[
0
],
Modelfile
:
string
(
modelfile
)}
if
err
:=
client
.
Create
(
context
.
Background
(),
&
request
,
fn
);
err
!=
nil
{
return
err
}
...
...
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