agentnet 0.1.18 → 0.1.19
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/package.json +1 -1
- package/src/agent/executor.js +0 -2
- package/src/llm/gemini.js +1 -1
package/package.json
CHANGED
package/src/agent/executor.js
CHANGED
|
@@ -46,7 +46,6 @@ export function makeToolsAndHandoffsMap(llmType, toolsAndHandoffsMap, tools, han
|
|
|
46
46
|
continue;
|
|
47
47
|
}
|
|
48
48
|
if (toolsAndHandoffsMap[tool.name] !== undefined) {
|
|
49
|
-
logger.warn('Skipping duplicate tool', { tool });
|
|
50
49
|
continue;
|
|
51
50
|
}
|
|
52
51
|
|
|
@@ -81,7 +80,6 @@ export function makeToolsAndHandoffsMap(llmType, toolsAndHandoffsMap, tools, han
|
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
if (toolsAndHandoffsMap[handoff.name] !== undefined) {
|
|
84
|
-
logger.warn('Skipping duplicate handoff', { handoff });
|
|
85
83
|
continue;
|
|
86
84
|
}
|
|
87
85
|
|
package/src/llm/gemini.js
CHANGED
|
@@ -135,7 +135,7 @@ class GeminiLLM extends BaseLLM {
|
|
|
135
135
|
* @returns {Promise<string|null>} Text response or null if processing tool calls
|
|
136
136
|
*/
|
|
137
137
|
async onResponse(state, conversation, toolsAndHandoffsMap, response) {
|
|
138
|
-
logger.info('Gemini onResponse'
|
|
138
|
+
logger.info('Gemini onResponse');
|
|
139
139
|
|
|
140
140
|
if (response.text !== undefined) {
|
|
141
141
|
const modelResponse = {
|