diff --git a/nimbusagent/agent/streaming.py b/nimbusagent/agent/streaming.py index 1f13d39..1a58701 100644 --- a/nimbusagent/agent/streaming.py +++ b/nimbusagent/agent/streaming.py @@ -62,14 +62,14 @@ def output_post_content(post_content: List[str]): def output_event(event_type: str, name: str, data: any): if not data: - return f"[[[{event_type}:{name}]]]\n" + return f"[[[{event_type}:{name}]]]" if not isinstance(data, str): data = json.dumps(data) if len(data) > self.max_event_size: data = '{"error":"data too large"}' - return f"[[[{event_type}:{name}:{data}]]]\n" + return f"[[[{event_type}:{name}:{data}]]]" loops = 0 post_content_items = [] diff --git a/pyproject.toml b/pyproject.toml index 96dcf3d..a2f0fd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nimbusagent" -version = "0.4.0" +version = "0.4.1" description = "An OpenAI agent with basic memory, functions, and moderation support" readme = "README.md" license = { file = "LICENSE.txt" }