@noetic-tools/types 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/common.d.ts +14 -3
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -57,12 +57,23 @@ export interface LLMResponse {
|
|
|
57
57
|
}
|
|
58
58
|
/** @public Configuration for the LLM provider used by the agent harness. */
|
|
59
59
|
export interface LlmProviderConfig {
|
|
60
|
-
|
|
60
|
+
/**
|
|
61
|
+
* Inference backend. Defaults to `'noetic'` — the Noetic platform
|
|
62
|
+
* (platform.noetic.tools), which provides managed, metered inference
|
|
63
|
+
* authenticated with a Noetic credential. Use `'openrouter'` to call OpenRouter
|
|
64
|
+
* directly (BYOK).
|
|
65
|
+
*/
|
|
66
|
+
provider?: 'noetic' | 'openrouter';
|
|
61
67
|
apiKey?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Override the API base URL (advanced / self-host). Defaults to the Noetic
|
|
70
|
+
* platform for the `'noetic'` provider, and the SDK default for `'openrouter'`.
|
|
71
|
+
*/
|
|
72
|
+
baseUrl?: string;
|
|
62
73
|
/**
|
|
63
74
|
* When true, sends the `X-OpenRouter-Cache: true` request header on every
|
|
64
|
-
* model call
|
|
65
|
-
*
|
|
75
|
+
* model call so identical requests are served from cache without re-billing —
|
|
76
|
+
* useful for deterministic re-runs (evals, regression suites).
|
|
66
77
|
*/
|
|
67
78
|
cache?: boolean;
|
|
68
79
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noetic-tools/types",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Foundational type contracts and primitives shared across the Noetic framework (items, LLM config, adapters, steering, errors).",
|
|
6
6
|
"license": "Apache-2.0",
|