Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(tasks): register Kimi without effort levels (#74627)

Alessandro Pogliaghibd1eada9ae99
diff --git a/products/tasks/backend/temporal/process_task/tests/test_utils.py b/products/tasks/backend/temporal/process_task/tests/test_utils.py
index b83d4be3fd36..e2cd20517513 100644
--- a/products/tasks/backend/temporal/process_task/tests/test_utils.py
+++ b/products/tasks/backend/temporal/process_task/tests/test_utils.py
@@ -20,9 +20,11 @@ from products.tasks.backend.temporal.process_task.utils import (
get_git_identity_env_vars,
get_github_credential_source,
get_imported_mcp_server_configs,
+ get_models_for_runtime_adapter,
get_relayed_mcp_server_names,
get_sandbox_github_token,
get_sandbox_ph_mcp_configs,
+ get_supported_reasoning_efforts,
get_task_run_actor_user,
get_task_run_credential_user,
get_user_mcp_server_configs,
@@ -31,6 +33,12 @@ from products.tasks.backend.temporal.process_task.utils import (
)
+class TestRuntimeModelCapabilities(SimpleTestCase):
+ def test_kimi_is_known_without_selectable_reasoning_effort(self) -> None:
+ assert "moonshotai/kimi-k3" in get_models_for_runtime_adapter("claude")
+ assert get_supported_reasoning_efforts("claude", "moonshotai/kimi-k3") == ()
+
+
class TestRunStateSnapshotPaths(TestCase):
@parameterized.expand(
[
diff --git a/products/tasks/backend/temporal/process_task/utils.py b/products/tasks/backend/temporal/process_task/utils.py
index 3f909fd482f1..abad25149511 100644
--- a/products/tasks/backend/temporal/process_task/utils.py
+++ b/products/tasks/backend/temporal/process_task/utils.py
@@ -111,6 +111,7 @@ CLAUDE_REASONING_EFFORTS_BY_MODEL: dict[str, tuple[ReasoningEffort, ...]] = {
ReasoningEffort.HIGH,
ReasoningEffort.MAX,
),
+ "moonshotai/kimi-k3": (),
"claude-opus-4-5": (
ReasoningEffort.LOW,
ReasoningEffort.MEDIUM,