Teknium
|
4dfd383765
|
Merge branch 'simp/agent-loop' into simp/integration
|
2026-09-02 14:19:36 -07:00 |
|
Teknium
|
673b2c6d5a
|
Merge branch 'simp/agent-runagent' into simp/integration
|
2026-09-02 14:19:36 -07:00 |
|
Teknium
|
e5e4f91b57
|
Merge branch 'simp/agent-tools' into simp/integration
|
2026-09-02 14:19:36 -07:00 |
|
Teknium
|
8c40fc4aba
|
Merge branch 'simp/agent-ctxcomp' into simp/integration
|
2026-09-02 14:19:35 -07:00 |
|
Teknium
|
082dd91c79
|
Merge branch 'simp/agent-convcomp' into simp/integration
|
2026-09-02 14:19:35 -07:00 |
|
Teknium
|
7c6a581d38
|
Merge branch 'simp/agent-chat' into simp/integration
|
2026-09-02 14:19:35 -07:00 |
|
Teknium
|
53ab9d1ed0
|
Merge branch 'simp/agent-init-pb' into simp/integration
|
2026-09-02 14:19:35 -07:00 |
|
Teknium
|
c43c0bcfa6
|
Merge branch 'simp/agent-init-moa' into simp/integration
|
2026-09-02 14:19:35 -07:00 |
|
Teknium
|
449f8c954d
|
test(agent): repoint send-path clone AST contract at turn_context.build_api_messages
|
2026-09-02 13:41:27 -07:00 |
|
Teknium
|
ab48b1ddc5
|
refactor(agent): extract per-call API message build into turn_context.build_api_messages
|
2026-09-02 13:30:23 -07:00 |
|
Teknium
|
30b0759bb3
|
refactor(agent): extract content_filter refusal handling into turn_truncation.handle_content_policy_refusal
|
2026-09-02 13:30:23 -07:00 |
|
Teknium
|
4f53d7bd28
|
refactor(agent): extract post-tool-call compression decision into turn_preflight.compress_after_tool_results
|
2026-09-02 13:30:23 -07:00 |
|
Teknium
|
f0d2355e26
|
refactor(agent): extract text-response stop gates (verify-on-stop, pre_verify hook, kanban guard) into agent/turn_stop_gates.py
|
2026-09-02 13:30:23 -07:00 |
|
Teknium
|
22cba7dd41
|
refactor(agent): extract classified-error routing (compaction gate, long-context tier, eager/auth fallback, Nous 429) into turn_recovery.route_classified_error
|
2026-09-02 13:30:23 -07:00 |
|
Teknium
|
ef9dc88348
|
refactor(agent): drop write-only _bot_capability_refreshed attribute (zero readers repo-wide)
|
2026-09-02 13:30:22 -07:00 |
|
Teknium
|
7df9d3be5c
|
refactor(agent): extract pre-API preflight compression gate into agent/turn_preflight.py
|
2026-09-02 13:30:21 -07:00 |
|
Teknium
|
0028951f35
|
refactor(agent): extract tool-call name/JSON validation into agent/turn_tool_validation.py
|
2026-09-02 13:30:21 -07:00 |
|
Teknium
|
d398d91529
|
refactor(agent): extract empty/thinking-only response recovery ladder into agent/turn_empty_response.py
|
2026-09-02 13:30:20 -07:00 |
|
Teknium
|
df42f37e09
|
refactor(agent): extract response-shape validation, invalid-response diagnostics and Codex incomplete continuation
|
2026-09-02 13:30:19 -07:00 |
|
Teknium
|
8b958e1b0f
|
refactor(agent): unify interruptible backoff sleeps and fallback-restart arming; extract compute_error_backoff
|
2026-09-02 13:30:18 -07:00 |
|
Teknium
|
661c9af826
|
refactor(agent): extract finish_reason=length truncation recovery into agent/turn_truncation.py
|
2026-09-02 13:30:18 -07:00 |
|
Teknium
|
645db06053
|
refactor(agent): extract 413/context-overflow compression recovery into agent/turn_overflow.py
|
2026-09-02 13:30:17 -07:00 |
|
Teknium
|
5543e7ae0f
|
refactor(agent): resume — extract API-error attempt logging into turn_recovery.log_api_error_attempt (verified partial work)
|
2026-09-02 13:30:17 -07:00 |
|
Teknium
|
25b165add5
|
refactor(agent): extract terminal API-failure result builders into agent/turn_recovery.py
|
2026-09-02 13:30:16 -07:00 |
|
Teknium
|
649c227e9e
|
refactor(agent): extract per-response usage accounting into agent/turn_usage.py
|
2026-09-02 13:30:16 -07:00 |
|
Teknium
|
fefc471deb
|
refactor(agent): extract post-classification one-shot recovery chain into agent/turn_recovery.py
|
2026-09-02 13:30:15 -07:00 |
|
Teknium
|
79469656e7
|
refactor(agent): extract pre-classification API-error recovery into agent/turn_recovery.py
|
2026-09-02 13:29:47 -07:00 |
|
Teknium
|
4e548ce7a0
|
refactor(agent): compact turn-loop comments/docstrings to invariant statements (AST-identical)
|
2026-09-02 13:29:46 -07:00 |
|
Teknium
|
276685766e
|
refactor(run_agent): repoint file-mutation helper test imports to agent.tool_dispatch_helpers
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
0ab2e9672c
|
refactor(run_agent): extract VisionMessagePrepMixin and ReasoningParamsMixin
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
9576b49c0b
|
refactor(run_agent): extract TurnFacadeMixin (run_conversation/chat admission wrapper)
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
f0526e6d74
|
refactor(run_agent): extract CompressionFacadeMixin; collapse 10 more lazy forwarders
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
53161ba6f4
|
refactor(run_agent): unify _emit_status/_emit_warning and _buffer_status/_buffer_vprint pairs
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
45e88aff38
|
refactor(run_agent): re-wrap comment blocks left with dangling fragments
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
1e778ae7c6
|
refactor(run_agent): re-wrap compacted docstrings, restore lost issue-ref rationale
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
e564e60a3d
|
refactor(run_agent): extract SessionPersistenceMixin (agent/session_persistence.py); _DB_PERSISTED_MARKER sourced from context_compressor
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
81abe4799a
|
refactor(run_agent): extract InterruptControl/TurnExplainers/ActivityTracking/RateLimitCredits mixins
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
ce6b4d1e16
|
refactor(run_agent): extract ApiErrorSummaryMixin (agent/api_error_summary.py)
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
d69afde2d3
|
refactor(run_agent): drop unused logger in api_request_hooks
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
64cc8cf0d3
|
refactor(run_agent): extract ApiRequestHooksMixin (agent/api_request_hooks.py)
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
c274125690
|
refactor(run_agent): extract StreamDeliveryMixin and StatusOutputMixin
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
fd54e7faec
|
refactor(run_agent): extract ClientLifecycleMixin (agent/client_lifecycle.py) + agent/lazy_forward.py
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
5423336e8c
|
refactor(run_agent): collapse 39 lazy forwarder methods into _forward() descriptors; __init__ forwards via locals()
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
1c21f09558
|
refactor(run_agent): route default-header chain -> _ROUTE_DEFAULT_HEADERS dispatch table
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
7048763e99
|
refactor(run_agent): unify non-vision message preprocessors, drop dead forwarders
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
30e060211c
|
refactor(run_agent): compact verbose comments and docstrings in AIAgent facade
Hand-reviewed compaction only; code is AST-identical. Rationale-bearing
sentences kept (issue-ref rationale restored in a follow-up commit).
|
2026-09-02 13:29:40 -07:00 |
|
Teknium
|
c5452be851
|
refactor(agent): tests — drop unused imports in test_model_tools
|
2026-09-02 13:29:39 -07:00 |
|
Teknium
|
bdf9ebf92c
|
refactor(agent): model_tools — lift _active_model_config out of _resolve_active_context_length
|
2026-09-02 13:29:39 -07:00 |
|
Teknium
|
531eb9b561
|
refactor(agent): model_tools — _CallIds dataclass carries tool-call identity through guards, execution and hooks
|
2026-09-02 13:29:39 -07:00 |
|
Teknium
|
7afd702505
|
refactor(agent): toolsets — flatten get_toolset alias branch, extract _plugin_platform_bundle, share _display_alias
|
2026-09-02 13:29:39 -07:00 |
|