vault commit: 2025-10-08 22:44, 16 files changed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<%*
|
||||
try {
|
||||
const out = await tp.ai.chat("Say 'OK' if you can read this.");
|
||||
new Notice("AI replied: " + (typeof out === "string" ? out.slice(0,60) : JSON.stringify(out).slice(0,60)));
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
new Notice("AI call threw an error (check console).");
|
||||
}
|
||||
%>
|
||||
Reference in New Issue
Block a user