mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
スクラッチパッド、ボタンウィジェット、AiScriptウィジェットでトークンを設定するように
This commit is contained in:
parent
b764c37845
commit
87bee02da1
3 changed files with 6 additions and 3 deletions
|
@ -70,7 +70,8 @@ export default defineComponent({
|
|||
async run() {
|
||||
this.logs = [];
|
||||
const aiscript = new AiScript(createAiScriptEnv({
|
||||
storageKey: 'scratchpad'
|
||||
storageKey: 'scratchpad',
|
||||
token: this.$i?.token,
|
||||
}), {
|
||||
in: (q) => {
|
||||
return new Promise(ok => {
|
||||
|
|
|
@ -54,7 +54,8 @@ export default defineComponent({
|
|||
async run() {
|
||||
this.logs = [];
|
||||
const aiscript = new AiScript(createAiScriptEnv({
|
||||
storageKey: 'widget'
|
||||
storageKey: 'widget',
|
||||
token: this.$i?.token,
|
||||
}), {
|
||||
in: (q) => {
|
||||
return new Promise(ok => {
|
||||
|
|
|
@ -45,7 +45,8 @@ export default defineComponent({
|
|||
methods: {
|
||||
async run() {
|
||||
const aiscript = new AiScript(createAiScriptEnv({
|
||||
storageKey: 'scratchpad'
|
||||
storageKey: 'widget',
|
||||
token: this.$i?.token,
|
||||
}), {
|
||||
in: (q) => {
|
||||
return new Promise(ok => {
|
||||
|
|
Loading…
Add table
Reference in a new issue