You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// localhost:3284 is the default origin when you open the chat interface in your browser. localhost:3000 and 3001 are used during development.
358
358
{FlagAllowedOrigins, "o", []string{"http://localhost:3284", "http://localhost:3000", "http://localhost:3001"}, "HTTP allowed origins. Use '*' for all, comma-separated list via flag, space-separated list via AGENTAPI_ALLOWED_ORIGINS env var", "stringSlice"},
359
359
{FlagInitialPrompt, "I", "", "Initial prompt for the agent. Recommended only if the agent doesn't support initial prompt in interaction mode. Will be read from stdin if piped (e.g., echo 'prompt' | agentapi server -- my-agent)", "string"},
360
-
{StateFile, "s", "", "Path to file for saving/loading server state", "string"},
361
-
{LoadState, "", false, "Load state from state-file on startup (defaults to true when state-file is set)", "bool"},
362
-
{SaveState, "", false, "Save state to state-file on shutdown (defaults to true when state-file is set)", "bool"},
363
-
{PidFile, "", "", "Path to file where the server process ID will be written for shutdown scripts", "string"},
360
+
{FlagStateFile, "s", "", "Path to file for saving/loading server state", "string"},
361
+
{FlagLoadState, "", false, "Load state from state-file on startup (defaults to true when state-file is set)", "bool"},
362
+
{FlagSaveState, "", false, "Save state to state-file on shutdown (defaults to true when state-file is set)", "bool"},
363
+
{FlagPidFile, "", "", "Path to file where the server process ID will be written for shutdown scripts", "string"},
0 commit comments