File tree Expand file tree Collapse file tree 4 files changed +24
-13
lines changed
content/manuals/ai/model-runner Expand file tree Collapse file tree 4 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 2323 "prefix" : [" admonition" , " tabs" ],
2424 "body" : [
2525 " " ,
26- " {{< tabs >}}" ,
27- " {{< tab name=\" $1 \" >}}" ,
26+ " {{< tabs group= \" $1 \" >}}" ,
27+ " {{< tab name=\" $2 \" >}}" ,
2828 " " ,
29- " $2 " ,
29+ " $3 " ,
3030 " " ,
3131 " {{< /tab >}}" ,
32- " {{< tab name=\" $3 \" >}}" ,
32+ " {{< tab name=\" $4 \" >}}" ,
3333 " " ,
34- " $4 " ,
34+ " $5 " ,
3535 " " ,
3636 " {{< /tab >}}" ,
3737 " {{</tabs >}}" ,
Original file line number Diff line number Diff line change 101101.summary-bar {
102102 @apply my-1 mt-4 flex flex-col rounded-sm border-1 border-gray-100 bg-gray-50 p-4 dark:border-gray-800 dark:bg-gray-900;
103103}
104+
105+ .tabs {
106+ @apply bg-blue/2 rounded-sm p-2;
107+ }
108+ .tablist {
109+ @apply mb-1 border-b border-gray-100 dark:border-gray-800;
110+ }
111+
112+ .tab-item {
113+ @apply inline-block rounded-sm px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-900;
114+ @apply dark:text-gray-200;
115+ }
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ You can now use the `docker model` command in the CLI and view and interact with
8383
8484Models are cached locally.
8585
86- {{< tabs >}}
86+ {{< tabs group="release" >}}
8787{{< tab name="From Docker Desktop">}}
8888
89891 . Select ** Models** and select the ** Docker Hub** tab.
@@ -99,14 +99,14 @@ Use the [`docker model pull` command](/reference/cli/docker/).
9999
100100## Run a model
101101
102- {{< tabs >}}
102+ {{< tabs group="release" >}}
103103{{< tab name="From Docker Desktop">}}
104104
105105Select ** Models** and select the ** Local** tab and click the play button.
106106The interactive chat screen opens.
107107
108108{{< /tab >}}
109- {{< tab name="From the Docker CLI">}}
109+ {{< tab name="From the Docker CLI" >}}
110110
111111Use the [ ` docker model run ` command] ( /reference/cli/docker/ ) .
112112
@@ -117,7 +117,7 @@ Use the [`docker model run` command](/reference/cli/docker/).
117117
118118To troubleshoot potential issues, display the logs:
119119
120- {{< tabs >}}
120+ {{< tabs group="release" >}}
121121{{< tab name="From Docker Desktop">}}
122122
123123Select ** Models** and select the ** Logs** tab.
Original file line number Diff line number Diff line change 66
77
88< div
9+ class ="tabs "
910 {{ with $group }}
1011 {{ if $persist }}
1112 x-data ="{ selected: $persist('{{ $first }}').as('{{ $groupID }}') } "
1920 {{ end }}
2021 aria-role ="tabpanel "
2122>
22- < div aria-role ="tablist " class ="space-x-2 ">
23+ < div aria-role ="tablist " class ="tablist ">
2324 {{ range (.Store.Get "tabs") }}
2425 < button
25- class ="p-1 "
26+ class ="tab-item "
2627 :class ="selected === '{{ .name | urlize }}' &&
2728 'border-blue border-b-4 dark:border-b-blue-600' "
2829 {{ if $group }}
3637 </ button >
3738 {{ end }}
3839 </ div >
39- < hr class ="!mt-0 " />
4040 < div >
4141 {{ range (.Store.Get "tabs") }}
4242 < div
4747 </ div >
4848 {{ end }}
4949 </ div >
50- < hr />
5150</ div >
You can’t perform that action at this time.
0 commit comments