← Về thư mục
openai4s/agent/actions.py
- CodeCell · class · L48-L52 — class CodeCell
- NativeToolCall · class · L56-L72 — class NativeToolCall
- NativeToolBatch · class · L76-L79 — class NativeToolBatch
- FinalizeAction · class · L83-L91 — class FinalizeAction
- is_completion_only_cell · function · L97-L144 — def is_completion_only_cell(cell: CodeCell | str, language: str = "python") -> bool
- extract_action · function · L147-L163 — def extract_action(text: str) -> CodeCell | None
- route_action · function · L166-L186 — def route_action( content: str, tool_calls: Iterable[NativeToolCall | Mapping[str, Any]] | None = None, ) -> Action | None
- _normalize_native_tool_call · function · L189-L199 — def _normalize_native_tool_call( call: NativeToolCall | Mapping[str, Any], ) -> NativeToolCall
- count_code_blocks · function · L202-L213 — def count_code_blocks(text: str) -> int
- has_incomplete_code_block · function · L216-L224 — def has_incomplete_code_block(text: str) -> bool