MCPSettings.cs 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. using UnityEngine;
  2. namespace LLM.Editor.Settings
  3. {
  4. [CreateAssetMenu(fileName = "MCPSettings", menuName = "LLM/MCP Settings", order = 0)]
  5. public class MCPSettings : ScriptableObject
  6. {
  7. [Header("Client Settings")]
  8. [Tooltip("If true, the system will use a local mock client instead of calling the live Gemini API.")]
  9. public bool useDummyClient;
  10. [Tooltip("If true, the agent will use the RAG-based memory retriever. If false, it will use the simple chat history.")]
  11. public bool useRagMemory = true;
  12. [Header("Gemini API Details")]
  13. [Tooltip("Your Google Cloud Project ID.")]
  14. public string gcpProjectId;
  15. [Tooltip("The region for your AI Platform endpoint (e.g., us-central1).")]
  16. public string gcpRegion;
  17. [Tooltip("The name of the Gemini model to use.")]
  18. public string modelName = "gemini-1.5-flash-preview-0514";
  19. [Tooltip("The name of the Gemini embedding model to use.")]
  20. public string embeddingModelName = "text-embedding-004";
  21. [Tooltip("The full path to your gcloud executable. Use 'which gcloud' (macOS/Linux) or 'where gcloud' (Windows) to find it.")]
  22. public string gcloudPath = "gcloud";
  23. }
  24. }