Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci-healchecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
env:
ARCH: x86_64-unknown-linux-gnu
OLLAMA_VERSION: v0.12.3
SHINKAI_NODE_VERSION: v1.1.13
SHINKAI_NODE_VERSION: v1.1.14
run: |
npx ts-node ./ci-scripts/download-side-binaries.ts

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
env:
ARCH: ${{ matrix.arch }}
OLLAMA_VERSION: v0.12.3
SHINKAI_NODE_VERSION: v1.1.13
SHINKAI_NODE_VERSION: v1.1.14
run: |
npx ts-node ./ci-scripts/download-side-binaries.ts

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
- name: Download side binaries
env:
ARCH: ${{ matrix.arch }}
SHINKAI_NODE_VERSION: v1.1.13
SHINKAI_NODE_VERSION: v1.1.14
OLLAMA_VERSION: v0.12.3
run: |
npx ts-node ./ci-scripts/download-side-binaries.ts
Expand Down
6 changes: 3 additions & 3 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Antes de ejecutar Shinkai, deberá descargar el binario de nodo Shinkai incrusta

```bash
ARCH="aarch64-apple-darwin" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
OLLAMA_VERSION="v0.12.3" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand All @@ -152,15 +152,15 @@ npx ts-node ./ci-scripts/download-side-binaries.ts
```bash
ARCH="x86_64-unknown-linux-gnu" \
OLLAMA_VERSION="v0.12.3" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```

** Windows: **

```powershell
$ENV:OLLAMA_VERSION="v0.12.3"
$ENV:SHINKAI_NODE_VERSION="v1.1.13"
$ENV:SHINKAI_NODE_VERSION="v1.1.14"
$ENV:ARCH="x86_64-pc-windows-msvc"
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand Down
6 changes: 3 additions & 3 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Shinkaiを実行する前に、アプリケーションのコア機能を駆動

```bash
ARCH="aarch64-apple-darwin" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
OLLAMA_VERSION="v0.12.3" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand All @@ -152,15 +152,15 @@ npx ts-node ./ci-scripts/download-side-binaries.ts
```bash
ARCH="x86_64-unknown-linux-gnu" \
OLLAMA_VERSION="v0.12.3" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```

** Windows:**

```powershell
$ENV:OLLAMA_VERSION="v0.12.3"
$ENV:SHINKAI_NODE_VERSION="v1.1.13"
$ENV:SHINKAI_NODE_VERSION="v1.1.14"
$ENV:ARCH="x86_64-pc-windows-msvc"
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand Down
6 changes: 3 additions & 3 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Shinkai를 실행하기 전에 응용 프로그램의 핵심 기능에 전원을

```bash
ARCH="aarch64-apple-darwin" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
OLLAMA_VERSION="v0.12.3" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand All @@ -152,15 +152,15 @@ npx ts-node ./ci-scripts/download-side-binaries.ts
```bash
ARCH="x86_64-unknown-linux-gnu" \
OLLAMA_VERSION="v0.12.3" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```

** Windows : **

```powershell
$ENV:OLLAMA_VERSION="v0.12.3"
$ENV:SHINKAI_NODE_VERSION="v1.1.13"
$ENV:SHINKAI_NODE_VERSION="v1.1.14"
$ENV:ARCH="x86_64-pc-windows-msvc"
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Before running Shinkai, you'll need to download the embedded Shinkai Node binary

```bash
ARCH="aarch64-apple-darwin" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
OLLAMA_VERSION="v0.12.3" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand All @@ -152,15 +152,15 @@ npx ts-node ./ci-scripts/download-side-binaries.ts
```bash
ARCH="x86_64-unknown-linux-gnu" \
OLLAMA_VERSION="v0.12.3" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```

**Windows:**

```powershell
$ENV:OLLAMA_VERSION="v0.12.3"
$ENV:SHINKAI_NODE_VERSION="v1.1.13"
$ENV:SHINKAI_NODE_VERSION="v1.1.14"
$ENV:ARCH="x86_64-pc-windows-msvc"
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand Down
6 changes: 3 additions & 3 deletions README.zh-HK.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Before running Shinkai, you'll need to download the embedded Shinkai Node binary

```bash
ARCH="aarch64-apple-darwin" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
OLLAMA_VERSION="v0.12.3" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand All @@ -152,15 +152,15 @@ npx ts-node ./ci-scripts/download-side-binaries.ts
```bash
ARCH="x86_64-unknown-linux-gnu" \
OLLAMA_VERSION="v0.12.3" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```

**Windows:**

```powershell
$ENV:OLLAMA_VERSION="v0.12.3"
$ENV:SHINKAI_NODE_VERSION="v1.1.13"
$ENV:SHINKAI_NODE_VERSION="v1.1.14"
$ENV:ARCH="x86_64-pc-windows-msvc"
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand Down
6 changes: 3 additions & 3 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ npm ci

```bash
ARCH="aarch64-apple-darwin" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
OLLAMA_VERSION="v0.12.3" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand All @@ -152,15 +152,15 @@ npx ts-node ./ci-scripts/download-side-binaries.ts
```bash
ARCH="x86_64-unknown-linux-gnu" \
OLLAMA_VERSION="v0.12.3" \
SHINKAI_NODE_VERSION="v1.1.13" \
SHINKAI_NODE_VERSION="v1.1.14" \
npx ts-node ./ci-scripts/download-side-binaries.ts
```

**视窗:**

```powershell
$ENV:OLLAMA_VERSION="v0.12.3"
$ENV:SHINKAI_NODE_VERSION="v1.1.13"
$ENV:SHINKAI_NODE_VERSION="v1.1.14"
$ENV:ARCH="x86_64-pc-windows-msvc"
npx ts-node ./ci-scripts/download-side-binaries.ts
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useTranslation } from '@shinkai_network/shinkai-i18n';
import { Badge } from '@shinkai_network/shinkai-ui';
import { cn } from '@shinkai_network/shinkai-ui/utils';
import { ALargeSmall, Brain, Images, Wrench } from 'lucide-react';
import { ALargeSmall, Brain, Cloud, Images, Wrench } from 'lucide-react';
import { type ReactNode } from 'react';

import { OllamaModelCapability } from '../../../lib/shinkai-node-manager/ollama-models';
Expand Down Expand Up @@ -34,6 +34,10 @@ export const ModelCapabilityTag = ({
icon: <Wrench className="h-3.5 w-3.5" />,
text: t('shinkaiNode.models.labels.toolCallingCapability'),
},
[OllamaModelCapability.Cloud]: {
icon: <Cloud className="h-3.5 w-3.5" />,
text: t('shinkaiNode.models.labels.cloudCapability'),
},
};
return (
<Badge className={cn(className)} variant="tags" {...props}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import { z } from 'zod';

import {
FILTERED_OLLAMA_MODELS_REPOSITORY,
getCapabilitiesFromModel,
type OllamaModelDefinition,
} from '../../..//lib/shinkai-node-manager/ollama-models';
import {
Expand All @@ -48,6 +49,7 @@ import {
useShinkaiNodeGetDefaultModel,
useShinkaiNodeGetOllamaApiUrlQuery,
} from '../../../lib/shinkai-node-manager/shinkai-node-manager-client';
import { ModelCapabilityTag } from './model-capability-tag';
import { OllamaModelInstallButton } from './ollama-model-install-button';

export const OllamaModelsRepository = ({
Expand Down Expand Up @@ -128,6 +130,14 @@ export const OllamaModelsRepository = ({
<span className="text-text-secondary line-clamp-3 text-xs text-ellipsis">
{model.description}
</span>
<div className="flex flex-wrap items-center gap-1.5 pt-1">
{getCapabilitiesFromModel(model).map((capability) => (
<ModelCapabilityTag
capability={capability}
key={capability}
/>
))}
</div>
</div>
);
},
Expand Down
Loading