CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
style: apply ruff formatting
xf gongca3a973cb64a
diff --git a/cubepi/providers/openai.py b/cubepi/providers/openai.pyindex 5dc3769..db476d9 100644--- a/cubepi/providers/openai.py+++ b/cubepi/providers/openai.py@@ -65,10 +65,12 @@ class OpenAIProvider:api_messages: list[dict[str, Any]] = []if system_prompt:- api_messages.append({- "role": "system",- "content": [{"type": "text", "text": system_prompt}],- })+ api_messages.append(+ {+ "role": "system",+ "content": [{"type": "text", "text": system_prompt}],+ }+ )api_messages.extend(self._convert_message(m) for m in messages)kwargs: dict[str, Any] = {@@ -474,7 +476,9 @@ class OpenAIProvider:continue # Replaced by inline resolution; remove from output.if k == "description" and top:continue # Strip class-level docstring from top-level schema.- result[k] = OpenAIProvider._normalise_tool_schema(v, defs=defs, top=False)+ result[k] = OpenAIProvider._normalise_tool_schema(+ v, defs=defs, top=False+ )return resultelif isinstance(schema, list):return [