Skip to content

Commit 78ebc91

Browse files
authored
Merge pull request #52 from ghost-in-moss/fix/import-self
Fix/import self
2 parents 3625640 + 5ebb557 commit 78ebc91

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

RELEASES.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Releases
22

3+
4+
# v0.1.0
5+
6+
first release version.
7+
8+
## v0.1.2
9+
10+
fix import `Self` from `typing`, incompatible to python 3.10.
11+
12+
## v0.1.1
13+
14+
fix developer message missed in OpenAIDriver.
15+
316
# v0.1.0-beta
417

518
2024-12-22 beta version.

ghostos/abcd/concepts.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from __future__ import annotations
22
from typing import (
33
Type, Generic, Protocol, ClassVar, TypeVar, Callable,
4-
Tuple, Optional, Iterable, List, Self, Union, Dict, Any
4+
Tuple, Optional, Iterable, List, Union, Dict, Any
55
)
6+
from typing_extensions import Self
67

78
from abc import ABC, abstractmethod
89
from ghostos.identifier import Identical

ghostos/core/messages/payload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from typing import ClassVar, Optional, Protocol, Dict, Union, Self
1+
from typing import ClassVar, Optional, Protocol, Dict, Union
2+
from typing_extensions import Self
23
from abc import ABC
34
from pydantic import BaseModel
45
from .message import Message

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ghostos"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "A framework offers an operating system simulator with a Python Code Interface for AI Agents"
55
authors = ["zhuming <thirdgerb@gmail.com>", "Nile Zhou <nilezhou123@gmail.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)