Skip to content

Adding a new parameter for model, and updating the default to 2.5 Flash. - #18

Merged
evansenter merged 1 commit into
mainfrom
eas-model-wiring
Apr 18, 2025
Merged

Adding a new parameter for model, and updating the default to 2.5 Flash.#18
evansenter merged 1 commit into
mainfrom
eas-model-wiring

Conversation

@evansenter

Copy link
Copy Markdown
Member

No description provided.

@@ -0,0 +1,50 @@
import { CliArgs } from './args.js'; // Assuming CliArgs contains the needed fields

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should merge config into a single module.

Introduce a loadConfig that parses args, loads from environment, etc.

We should also avoid global state. Just pass a config type.

@sethtroisi
sethtroisi deleted the eas-model-wiring branch June 18, 2025 17:24
yaleh pushed a commit to yaleh/gemini-cli that referenced this pull request Jun 29, 2025
skeshive added a commit that referenced this pull request Feb 10, 2026
@sripasg sripasg added the size/m A medium sized PR label Jun 2, 2026
joneba-google added a commit to JonE01/gemini-cli that referenced this pull request Aug 19, 2026
…namic mimetypes

Address PR code review feedback by implementing exact code suggestions for Comment google-gemini#17 and Comment google-gemini#18.

### Motivation
Local trace creation in world-writable directories required symlink guards and restricted mode permissions (0o700) to prevent overwrite attacks. Evaluation artifact uploads needed dynamic MIME type guessing via mimetypes.guess_type for binary assets.

### Key Changes
- Added mode=0o700 to os.makedirs and os.path.islink guard to prevent local symlink overwrite attacks in upload_agent_trajectory_log.
- Added fallback sanitization (os.path.basename) for non-integer issue_number identifiers.
- Added mimetypes.guess_type in upload_eval_run_artifacts to dynamically set content_type for uploads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m A medium sized PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants