Mercurial Hosting > lang
comparison src/lib/ai/Ai.luan @ 76:3c60bc17403e default tip
remove ai
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 31 Aug 2025 17:40:20 -0600 |
parents | b96cf27e719d |
children |
comparison
equal
deleted
inserted
replaced
75:b96cf27e719d | 76:3c60bc17403e |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local ipairs = Luan.ipairs or error() | |
4 | |
5 | |
6 error "not used for now" | |
7 | |
8 local Ai = {} | |
9 | |
10 local ais = {"claude"} | |
11 local files = {"Ai_chat.luan"} | |
12 for _, ai in ipairs(ais) do | |
13 local mods = {} | |
14 local dir = "site:/lib/ai/"..ai.."/" | |
15 for _, file in ipairs(files) do | |
16 mods[file] = require(dir..file) | |
17 end | |
18 Ai[ai] = mods | |
19 end | |
20 | |
21 return Ai |