بنقرة واحدة
sparkgen-config
Switch LLM providers, deployment modes, and manage environment configuration
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Switch LLM providers, deployment modes, and manage environment configuration
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate a new SparkGen-AWS project from the cookiecutter template
Develop and modify the SparkGen-AWS cookiecutter template — variables, hooks, files
Run cookiecutter matrix tests to verify template generates correctly across all variable combinations
Add, modify, remove, list, or show agents in the workflow
Send a chat message to the running agent server and display the response
Diagnose issues with Ollama, Docker, AWS, endpoints, guardrails, RAG, or general health
| name | sparkgen-config |
| description | Switch LLM providers, deployment modes, and manage environment configuration |
| user_invokable | true |
| auto_invokable | true |
| auto_invoke_hint | Invoke when the user discusses providers, models, deployment modes, or environment variables |
| arguments | <switch-provider|switch-mode|show|env> [args] |
Manage project configuration — providers, deployment modes, and environment files.
Before any action:
.env (if exists) for DEPLOYMENT_MODE, LLM_PROVIDER, MODEL_IDls .env.*config/ai_workflow.yaml for current LLM and embedding config/sparkgen-config show)Display current configuration:
=== Current Configuration ===
Deployment Mode: <from .env or 'not set'>
LLM Provider: <provider>
LLM Model: <model_id>
Embed Provider: <embed_provider>
Embed Model: <embed_model>
RAG Enabled: <yes/no>
Guardrails: <yes/no>
API Key: <masked>
Server Port: <port>
/sparkgen-config switch-provider <bedrock|ollama|openai>)To Ollama:
.env: LLM_PROVIDER=ollama, OLLAMA_MODEL=llama3.2:3b, OLLAMA_BASE_URL=http://localhost:11434curl -sf http://localhost:11434/api/tagsollama list | grep <model>EMBEDDING_PROVIDER=sentence-transformerTo Bedrock:
.env: LLM_PROVIDER=bedrock, AWS_MODEL_ID=eu.amazon.nova-lite-v1:0aws sts get-caller-identityEMBEDDING_PROVIDER=bedrock, AWS_EMBED_MODEL_ID=amazon.titan-embed-text-v2:0To OpenAI:
.env: LLM_PROVIDER=openai, OPENAI_MODEL=gpt-4o-miniOPENAI_API_KEY is setEMBEDDING_PROVIDER=openaiAfter switch: remind user to restart the server.
/sparkgen-config switch-mode <local|docker|aws>)cp .env.<mode> .env/sparkgen-config env)Show all environment variables from current .env with descriptions, grouped by section: