Skip to content

chore: regenerate_train_data accepts API key and https URL#543

Open
lianakoleva wants to merge 1 commit into
sgl-project:mainfrom
lianakoleva:chore/script-api
Open

chore: regenerate_train_data accepts API key and https URL#543
lianakoleva wants to merge 1 commit into
sgl-project:mainfrom
lianakoleva:chore/script-api

Conversation

@lianakoleva
Copy link
Copy Markdown

Motivation

Allow users of scripts/regenerate_train_data.py to use API URL that requires API key and/or begins with https://.

Modifications

  • Adds --api-key argument to scripts/regenerate_train_data.py, which defaults to "None" (original behavior).
  • Adds normalize_server_address helper to scripts/regenerate_train_data.py, which only prepends http:// to --server-address argument if neither http:// nor https:// are already present

Related Issues

Accuracy Test

Benchmark & Profiling

Checklist

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

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