Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mochi-neko committed Jul 12, 2023
1 parent bdfa907 commit 0b2faea
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
7 changes: 2 additions & 5 deletions Assets/Mochineko/ChatGPT_API.Relent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.mochineko.chatgpt-api.relent",
"version": "0.7.1",
"version": "0.7.2",
"displayName": "ChatGPT API / Relent",
"description": "ChatGPT API implementation by Relent.",
"unity": "2021.3",
Expand All @@ -9,9 +9,6 @@
"email": "t.o.e.4315@gmail.com"
},
"dependencies": {
"com.mochineko.chatgpt-api": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API#0.7.1",
"com.mochineko.relent": "https://github.com/mochi-neko/Relent.git?path=/Assets/Mochineko/Relent#0.2.0",
"com.unity.nuget.newtonsoft-json": "3.0.2",
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask"
"com.unity.nuget.newtonsoft-json": "3.0.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ namespace Mochineko.ChatGPT_API.Samples
/// </summary>
public sealed class ChatCompletionAsStreamSample : MonoBehaviour
{
[SerializeField, TextArea]
[SerializeField, TextArea(3, 10)]
private string prompt = string.Empty;

/// <summary>
/// Message sent to ChatGPT API.
/// </summary>
[SerializeField, TextArea] private string message = string.Empty;
[SerializeField, TextArea(3, 10)] private string message = string.Empty;

/// <summary>
/// Max number of chat memory of queue.
Expand Down
2 changes: 1 addition & 1 deletion Assets/Mochineko/ChatGPT_API/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.mochineko.chatgpt-api",
"version": "0.7.1",
"version": "0.7.2",
"displayName": "ChatGPT API",
"description": "ChatGPT chat completion API bindings to pure C#.",
"unity": "2021.3",
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.7.1] - 2023-07-12

### Fixed

- Fix dependencies in `package.json`.

## [0.7.1] - 2023-07-05

### Fixed
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Add following dependencies to your `/Packages/mainfest.json`.
```json
{
"dependencies": {
"com.mochineko.chatgpt-api": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API#0.7.1",
"com.mochineko.chatgpt-api": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API#0.7.2",
...
}
}
Expand Down Expand Up @@ -149,7 +149,10 @@ You can use API with explicit error handling, retry, timeout, bulkhead, and so o
```json
{
"dependencies": {
"com.mochineko.chatgpt-api.relent": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API.Relent#0.7.1",
"com.mochineko.chatgpt-api.relent": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API.Relent#0.7.2",
"com.mochineko.chatgpt-api": "https://github.com/mochi-neko/ChatGPT-API-unity.git?path=/Assets/Mochineko/ChatGPT_API#0.7.2",
"com.mochineko.relent": "https://github.com/mochi-neko/Relent.git?path=/Assets/Mochineko/Relent#0.2.0",
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
...
}
}
Expand Down

0 comments on commit 0b2faea

Please sign in to comment.