Repository navigation
Fix Claude plugin directory validation warnings #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,5 @@ | |
| "AGENT_PLUGIN": "claude-code" | ||
| } | ||
| } | ||
| }, | ||
| "icon": "./assets/flutter-icon.png" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,7 +33,7 @@ class GeminiService { | |||||
| static const int defaultThinkingBudget = 4096; | ||||||
|
|
||||||
| /// The default max output tokens for generation. | ||||||
| static const int defaultMaxOutputTokens = 8192; | ||||||
| static const int defaultMaxOutputLimit = 8192; | ||||||
|
|
||||||
| /// The default safety settings to use for generation. | ||||||
| static final List<SafetySetting> defaultSafetySettings = [ | ||||||
|
|
@@ -78,7 +78,7 @@ class GeminiService { | |||||
| ); | ||||||
|
|
||||||
| _logger.info( | ||||||
| ' Model: $_model, Max Output Tokens: $defaultMaxOutputTokens, Thinking Budget: $thinkingBudget', | ||||||
| ' Model: $_model, Max Output Tokens: $defaultMaxOutputLimit, Thinking Budget: $thinkingBudget', | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To maintain consistency with the renamed variable
Suggested change
|
||||||
| ); | ||||||
|
|
||||||
| try { | ||||||
|
|
@@ -141,7 +141,7 @@ metadata: | |||||
| ); | ||||||
|
|
||||||
| _logger.info( | ||||||
| ' Model: $_model, Max Output Tokens: $defaultMaxOutputTokens, Thinking Budget: $thinkingBudget', | ||||||
| ' Model: $_model, Max Output Tokens: $defaultMaxOutputLimit, Thinking Budget: $thinkingBudget', | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To maintain consistency with the renamed variable
Suggested change
|
||||||
| ); | ||||||
|
|
||||||
| try { | ||||||
|
|
@@ -206,7 +206,7 @@ metadata: | |||||
| ); | ||||||
|
|
||||||
| _logger.info( | ||||||
| ' Model: $_model, Max Output Tokens: $defaultMaxOutputTokens, Thinking Budget: $thinkingBudget', | ||||||
| ' Model: $_model, Max Output Tokens: $defaultMaxOutputLimit, Thinking Budget: $thinkingBudget', | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To maintain consistency with the renamed variable
Suggested change
|
||||||
| ); | ||||||
|
|
||||||
| try { | ||||||
|
|
@@ -283,7 +283,7 @@ metadata: | |||||
| // See [GenerationConfig] in package:google_cloud_ai_generativelanguage_v1beta | ||||||
| generationConfig: GenerationConfig( | ||||||
| temperature: defaultTemperature, | ||||||
| maxOutputTokens: defaultMaxOutputTokens, | ||||||
| maxOutputTokens: defaultMaxOutputLimit, | ||||||
| thinkingConfig: thinkingBudget > 0 | ||||||
| ? ThinkingConfig( | ||||||
| includeThoughts: true, | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why Claude is concerned with the
tool/directory. Is there a way to ignore it entirely?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately not. The validator scans the entire repo, as the root of the repo is the root of the plugin.