commander using llm model openai/XHToken/Spark-X2.5-4B-GGUF
When running my commander app with XHToken/Spark-X2.5-4B-GGUF the result is pretty good. The model is able to follow instruction and extracts out the right container image to run and the commands too. This is my codebase for setting up my model XHToken/Spark-X2.5-4B-GGUF. import os from dotenv import load_dotenv from google . adk . agents import LlmAgent from google . adk . models . lite_llm import LiteLlm from google . adk . tools import google_search # Create a LiteLLM model pointing to your local server model = LiteLlm ( model = "openai/XHToken/Spark-X2.5-4B-GGUF" , api_base = "http://localhost:8888/v1" , # Your local server api_key = "sk-unsloth-4d0a1b198bd177a2a72ee1954585342a" , temperature = 0.0 , extra_body = { "chat_template_kwargs" : { "enable_thinking" : False }}, ) from app . prompt import ROOT_AGENT_INSTRUCTION from app . tools . container_toolset import ( ...