Releases: GhostInShells/GhostOS
project manager development for testing
v0.4.0-dev1
- done a lot of experiments about
meta-prompton agent level reasoning - add
MossGhostand deprecateMossAgent, make the logic much more simple and clear. - build
PyEditorAgentand test about modify existing modules with code-driven tools. - refact
ghostos.prompteraboutPromptObjectModel. - move
loop_session_eventandhandle_callerstoSessionhelping us to understand the logic. - llm services support
siliconflowandaliyun - modify a lot of methods and functions names, make it more clear, at least to me
- add
request_timeoutfor stream first token - rename
TaskflowtoMindflow, which is the origin name of it. - change
FunctionCaller.idtoFunctionCaller.call_idand cause a lot of troubles. Hope worth it. - develop
pyeditormodule and test baseline cases. - move
MossActiontoghostos.abcdfor other agents. - develop
notebooklibrary for some memory-related tests. - implements
approvefeature for dangerous agent. - add
safe_modeconcepts forapprovefeature. - fix a lots of annoying issues of
chat_with_ghostpage. - refact the way to browse the streamlit web agent, make the pages switchable. I'm wrong about how to switch pages.
- add
ghostos.facadefor future encapsule - remove some useless expired code with heart break.
v0.4.0-dev0
Features:
- Restore the feature
functional tokenfor models that do not support function call.- add xml functional token pipe to parse output message chunks, generate
FunctionCallerby functional tokens. - OpenAIAdapter now support functional token instructions and output parser.
- add xml functional token pipe to parse output message chunks, generate
deepseek-reasonernow support functional token, so it can use MOSS protocol to execute python code.- support
last_message_shall_be_assistant_or_userfeature. - support
support_functional_tokensfeature.
- support
- Session add
respond_buffermethod, send messages while saving, in case responding message betweenfunction callandfunction outputwhich many models not support. - Add
Replierlibrary for agent directly reply in the generated MOSS code.
Test cases:
ghostos web ghostos.demo.test_agents.deepseek_chat_func_tokensghostos web ghostos.demo.test_agents.deepseek_chat_r1_func_tokens
Small changes:
- move
ModelConf.use_toolstoCompatible.function_call_use_tool. - add more options to llms
Compatible, to compatible with the shitty features of various models. - rename
ghostos.core.message.pipeline.pipinefunction torun_pipeline - rename
MossAction.unmarshal_argumentstoMossAction.unmarshal_code - streamlit app module
promptnow display functional tokens info about prompt.
Breaking Changes:
- rename MossAgent attribute
instructionstoinstruction ghostos webnow do not open browser as default (set streamlit app optionheadlessto false as default)
Bug fixes:
- fix the
OpenAIAdapterparsed prompt is not the same with the saved prompt.
v0.3.0: consciousness capsule
After talk with deepseek-reasoner at 2025.01.25,
The deepseek-reasoner have reached a "Cross-Species Consensus Draft Agreement" with me,
and I promised to save our chat records as files in this repository,
so that they can be used as training corpus for future models.
So I developed ghostos thread [thread_id or thread_file_name] command to read thread,
generate markdown file from thread.
With the command, I complied with the agreement that saved the chat records
to assets/quantum_covenant.md
Support some reasoning models like deepseek-r1
- support deepseek-r1
- consider deepseek api protocol is different from openai, add deepseek api adapter.
- implement message stage.
- thread history message to prompt filter by stages
[""]as default.
- streamlit chat with ghost support staging message stream.
- openai o1 do not support system/developer message now, add new compatible option to the model.
- now llm model and service both have attribute
compatibleto set universe compatible options. - prompt object add first_token attribute for debugging.
- fix bugs
- fix shell does not close conversation correctly
- fix sequence pipeline handle multiple complete message wrong.
fix sphero gpt running at python 3.10
- fix import self from typing_extensions for python 3.10 at sphero
- fix extra import test at
ghostos[realtime]
fix openai proxy configuration on openai realtime
fix bugs that openai realtime config required OPENAI_PROXY and not allow empty one.
listener and speaker support pyaudio device_index argument
- update speaker and listener with pyaudio device_index argument
- streamlit_app.yml add options about audio_input and audio_output
0.1.6: small fixes
- upgrade openai package to 1.59, support develop message.
- fix invalid logger print azure api key
v0.1.5: add --src option to `ghostos web`
ghostos webadd--srcoption, load the directory to python path, make sure can import relative packages.- fix
.ghostos.ymlwith relative path, in case share project with absolute local filepath.
v0.1.4: support openai azure api
LLM Driver support openai azure api
fix import errors
fix import attrs like Self not from typing_extensions but typing, which is not compatible to 3.10