MCPSettings.cs 952 B

12345678910111213141516171819202122232425
  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. [Header("Gemini API Details")]
  11. [Tooltip("Your Google Cloud Project ID.")]
  12. public string gcpProjectId;
  13. [Tooltip("The region for your AI Platform endpoint (e.g., us-central1).")]
  14. public string gcpRegion;
  15. [Tooltip("The name of the Gemini model to use.")]
  16. public string modelName = "gemini-1.5-flash-preview-0514";
  17. [Tooltip("The full path to your gcloud executable. Use 'which gcloud' (macOS/Linux) or 'where gcloud' (Windows) to find it.")]
  18. public string gcloudPath = "gcloud";
  19. }
  20. }