mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 04:30:22 +00:00
refactor(plugin-sdk): add simple completion runtime entrypoint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as agentRuntimeModule from "openclaw/plugin-sdk/agent-runtime";
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
|
||||
import * as agentRuntimeModule from "openclaw/plugin-sdk/simple-completion-runtime";
|
||||
import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
|
||||
const completeWithPreparedSimpleCompletionModelMock =
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
|
||||
import { logVerbose } from "openclaw/plugin-sdk/runtime-env";
|
||||
import {
|
||||
completeWithPreparedSimpleCompletionModel,
|
||||
extractAssistantText,
|
||||
prepareSimpleCompletionModelForAgent,
|
||||
} from "openclaw/plugin-sdk/agent-runtime";
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
|
||||
import { logVerbose } from "openclaw/plugin-sdk/runtime-env";
|
||||
} from "openclaw/plugin-sdk/simple-completion-runtime";
|
||||
|
||||
const DEFAULT_THREAD_TITLE_TIMEOUT_MS = 10_000;
|
||||
const MAX_THREAD_TITLE_SOURCE_CHARS = 600;
|
||||
|
||||
Reference in New Issue
Block a user