MCPSettings.cs 785 B

123456789101112131415161718192021
  1. using UnityEngine;
  2. namespace LLM.Editor.Settings
  3. {
  4. // This creates a new asset type in Unity's "Create" menu.
  5. [CreateAssetMenu(fileName = "MCPSettings", menuName = "LLM/MCP Settings", order = 0)]
  6. public class MCPSettings : ScriptableObject
  7. {
  8. [Tooltip("Your Google Cloud Project ID.")]
  9. public string gcpProjectId;
  10. [Tooltip("The region for your AI Platform endpoint (e.g., us-central1).")]
  11. public string gcpRegion;
  12. [Tooltip("The name of the Gemini model to use.")]
  13. public string modelName = "gemini-1.5-flash-preview-0514";
  14. [Tooltip("The full path to your gcloud executable. Use 'which gcloud' (macOS/Linux) or 'where gcloud' (Windows) to find it.")]
  15. public string gcloudPath = "gcloud";
  16. }
  17. }