@kenkaiiii/gg-agent 5.91.0 → 5.91.2
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/LICENSE +661 -21
- package/NOTICE +52 -0
- package/README.md +32 -32
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
package/dist/index.d.cts
CHANGED
|
@@ -337,6 +337,8 @@ interface AgentOptions {
|
|
|
337
337
|
maxTokens?: number;
|
|
338
338
|
temperature?: number;
|
|
339
339
|
thinking?: StreamOptions["thinking"];
|
|
340
|
+
/** Effort rungs the endpoint declared for this model, forwarded to the transport. */
|
|
341
|
+
thinkingLevels?: StreamOptions["thinkingLevels"];
|
|
340
342
|
apiKey?: string;
|
|
341
343
|
/**
|
|
342
344
|
* Re-resolve the credential at the start of every turn. A run can span many
|
package/dist/index.d.ts
CHANGED
|
@@ -337,6 +337,8 @@ interface AgentOptions {
|
|
|
337
337
|
maxTokens?: number;
|
|
338
338
|
temperature?: number;
|
|
339
339
|
thinking?: StreamOptions["thinking"];
|
|
340
|
+
/** Effort rungs the endpoint declared for this model, forwarded to the transport. */
|
|
341
|
+
thinkingLevels?: StreamOptions["thinkingLevels"];
|
|
340
342
|
apiKey?: string;
|
|
341
343
|
/**
|
|
342
344
|
* Re-resolve the credential at the start of every turn. A run can span many
|
package/dist/index.js
CHANGED
|
@@ -959,6 +959,7 @@ async function* agentLoop(messages, options) {
|
|
|
959
959
|
maxTokens: clampOutputTokens(ceilingKey, options.maxTokens),
|
|
960
960
|
temperature: options.temperature,
|
|
961
961
|
thinking: options.thinking,
|
|
962
|
+
thinkingLevels: options.thinkingLevels,
|
|
962
963
|
apiKey: liveApiKey,
|
|
963
964
|
baseUrl: options.baseUrl,
|
|
964
965
|
signal,
|