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