Skip to content

Commit e717282

Browse files
authored
Merge pull request #3 from neocortex-link/feat/nx-0.4.0-updates
Updates for Neocortex Unity SDK v0.4.0
2 parents eb43942 + d896225 commit e717282

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.1.3] - 03 August 2025
8+
- Fixes for Neocortex SDK 0.4.0 update
9+
710
## [0.1.2] - 07 July 2025
811
- Check if Ollama is running on start
912

Runtime/Data/Message.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace Neocortex.Data
2+
{
3+
public class Message
4+
{
5+
public string content;
6+
public string role;
7+
}
8+
}

Runtime/Data/Message.cs.meta

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Runtime/OllamaRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using Neocortex;
32
using System.Linq;
43
using Neocortex.API;
54
using Neocortex.Data;
@@ -80,7 +79,8 @@ public async Task<List<string>> GetTags()
8079
ApiPayload payload = new ApiPayload()
8180
{
8281
url = $"{BASE_URL}/tags",
83-
method = "GET"
82+
method = "GET",
83+
data = Array.Empty<byte>()
8484
};
8585

8686
UnityWebRequest request = await Send(payload);

Runtime/OllamaSupport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ public class OllamaSupport
2727

2828
new() { model = "Llama 3.2", parameters = "1B", size = "1.3GB", name = "llama3.2:1b" },
2929
new() { model = "Llama 3.2", parameters = "3B", size = "2.0GB", name = "llama3.2:3b" },
30-
new() { model = "Llama 3.1", parameters = "8B", size = "4.7GB", name = "llama3.1" },
30+
new() { model = "Llama 3.1", parameters = "8B", size = "4.7GB", name = "llama3.1:8b" },
3131

3232
new() { model = "Gemma 3", parameters = "1B", size = "815MB", name = "gemma3:1b" },
3333
new() { model = "Gemma 3", parameters = "4B", size = "3.3GB", name = "gemma3:4b" },
3434
new() { model = "Gemma 3", parameters = "12B", size = "8.1GB", name = "gemma3:12b" },
3535
new() { model = "Gemma 3", parameters = "27B", size = "17GB", name = "gemma3:27b" },
36-
new() { model = "Gemma 2", parameters = "9B", size = "5.5GB", name = "gemma2" },
36+
new() { model = "Gemma 2", parameters = "9B", size = "5.5GB", name = "gemma2:9b" },
3737
new() { model = "Gemma 2", parameters = "27B", size = "16GB", name = "gemma2:27b" },
3838

3939
new() { model = "Mistral", parameters = "7B", size = "4.1GB", name = "mistral" },

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "link.neocortex.ollama",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"displayName": "Neocortex Ollama Support",
55
"description": "Ollama Support for Neocortex Unity SDK. This package helps you download and run LLMs on your local environment with the help of Ollama.",
66
"unity": "2021.3",

0 commit comments

Comments
 (0)