This commit is contained in:
HarakaraSite
2026-02-11 21:55:34 +09:00
parent 7f27264673
commit 194eb292da
7 changed files with 5 additions and 5 deletions

View File

@@ -19,12 +19,12 @@ for file in "$SOURCE_DIR"/*.md; do
filename=$(basename "$file")
echo "Analyzing $filename..."
# gemini-cli を使用してカテゴリを判定
category=$(cat "$file" | gemini-cli "Analyze this Strudel code.
# gemini を使用してカテゴリを判定
category=$( (echo "Analyze this Strudel code.
Based on functions like s(), note(), fm(), degrade(), or effects like lpf(),
classify this into exactly one of these categories:
'Sampling', 'Synthesis', 'Generative', 'Ambient_FX'.
Return only the category name as a single word.")
Return only the category name as a single word."; echo ""; cat "$file") | gemini)
# カテゴリが取得できなかった場合のデフォルト
if [ -z "$category" ]; then