Skip to content

Comments

Feature/bank config#6

Merged
tyrchen merged 2 commits intomasterfrom
feature/bank-config
Apr 29, 2025
Merged

Feature/bank config#6
tyrchen merged 2 commits intomasterfrom
feature/bank-config

Conversation

@tyrchen
Copy link
Owner

@tyrchen tyrchen commented Apr 29, 2025

No description provided.

@tyrchen tyrchen requested a review from Copilot April 29, 2025 05:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the code generation configuration by introducing a unified BankConfig struct and updates documentation examples accordingly while also bumping the package version and adjusting dependencies.

  • Replace separate parameters (path and bank_strategy) with a unified BankConfig in code generation calls
  • Update documentation examples to use BankConfig in multiple files
  • Update dependency declarations and bump version in Cargo.toml

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

File Description
src/mcp.rs Refactored to build BankConfig and pass it to codebank.generate
src/lib.rs Updated documentation examples to reflect the BankConfig API
src/bank.rs Modified the generate method to accept BankConfig instead of raw path
Cargo.toml Bumped version and adjusted serde and tempfile dependencies

@tyrchen tyrchen merged commit 8ad12b5 into master Apr 29, 2025
1 check passed
@tyrchen tyrchen deleted the feature/bank-config branch April 29, 2025 05:23
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