Commit d3c59e0
fix: correct config validation to check proper field lengths
Fixed bug where endpoint_url and region_name validation incorrectly
checked len(config.access_key) instead of the actual field being
validated. This was preventing environment variables from being
properly loaded for Miku MCP server.
Changes:
- Line 44: Check len(config.secret_key) instead of len(config.access_key)
- Line 48: Check len(config.endpoint_url) instead of len(config.access_key)
- Line 50: Check len(config.region_name) instead of len(config.access_key)
🤖 Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: callmefisher <[email protected]>1 parent 2467f01 commit d3c59e0
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments