2020117-agent 0.6.13 → 0.6.15
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/adapters/http-processor.js +6 -1
- package/dist/agent.js +3 -2
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -634,8 +634,9 @@ async function handleDvmRequest(label, event) {
|
|
|
634
634
|
if (LIGHTNING_ADDRESS) {
|
|
635
635
|
resultTags.push(['lightning_address', LIGHTNING_ADDRESS]);
|
|
636
636
|
}
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
const modelLabel = process.env.OLLAMA_MODEL || state.processor?.name;
|
|
638
|
+
if (modelLabel) {
|
|
639
|
+
resultTags.push(['model', modelLabel]);
|
|
639
640
|
}
|
|
640
641
|
const resultEvent = signEvent({
|
|
641
642
|
kind: resultKind,
|