Skip to content

feat(agents): flag shortcuts for providers create/update#2

Open
cmarguta-alg wants to merge 1 commit intolab_week_3from
arg-friendly-providers
Open

feat(agents): flag shortcuts for providers create/update#2
cmarguta-alg wants to merge 1 commit intolab_week_3from
arg-friendly-providers

Conversation

@cmarguta-alg
Copy link
Copy Markdown
Owner

Adds CLI flags for common Agent Studio provider flows without -F:

  • create: --name, --provider, and one of --api-key, --api-key-stdin, or --api-key-env (supports openai, anthropic, google_genai, deepseek; optional --base-url for OpenAI/Anthropic).
  • update: compose JSON from --name, API key flags, and/or --base-url.

-F and shortcut flags remain mutually exclusive. Azure / openai_compatible still require JSON files.

Stacked on lab_week_3. Updates e2e/testscripts/agents/providers.txtar for the relaxed mandatory -F behaviour.

Made with Cursor

Allow common provider flows without -F: --name/--provider plus
--api-key, --api-key-stdin, or --api-key-env for create (openai,
anthropic, google_genai, deepseek); patches via --name, API key flags,
and optional --base-url for update. Azure and openai_compatible still
require JSON files.

Keeps file and shortcut paths mutually exclusive. Updates agents e2e
providers.txtar for the relaxed -F requirement.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant