Skip to content

feat: add --base-url and --api-key to generate_kernel_and_verify.py#52

Merged
factnn merged 2 commits into
flagos-ai:mainfrom
factnn:feature/add-base-url-cli
Jun 26, 2026
Merged

feat: add --base-url and --api-key to generate_kernel_and_verify.py#52
factnn merged 2 commits into
flagos-ai:mainfrom
factnn:feature/add-base-url-cli

Conversation

@factnn

@factnn factnn commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Expose --base-url and --api-key CLI args to support any OpenAI-compatible API provider.

Changes

  • scripts/generate_kernel_and_verify.py: add --base-url and --api-key args, pass to GenerationConfig
  • docs/: document new parameters and usage examples

Usage

python scripts/generate_kernel_and_verify.py \
    --server-type openai \
    --model-name <model> \
    --base-url <endpoint> \
    --api-key <key>

automerge-bot added 2 commits June 26, 2026 14:27
…rify.py

Allow users to specify custom API endpoints and keys for
OpenAI-compatible providers (e.g., DashScope, local LLM servers).
@factnn factnn merged commit 73906c9 into flagos-ai:main Jun 26, 2026
1 check passed
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