Package com.alibaba.dashscope.config
Class ConfigFile
java.lang.Object
com.alibaba.dashscope.config.ConfigFile
Minimal reader for
~/.dashscope/config.toml. Flat subset only: top-level key =
value lines with string / integer / float / boolean values; sections and comments are skipped.
No TOML dependency is pulled in (design §1).-
Field Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT_PATH
- See Also:
-
-
Method Details
-
load
Parse the file atpath; missing file yields an empty map. Malformed lines are skipped (config discovery must never crash client construction). -
defaultPath
Config file path:DASHSCOPE_CONFIGenv, then the default.
-