# AI_model_API_config **Repository Path**: guyuming76/AI_model_API_config ## Basic Information - **Project Name**: AI_model_API_config - **Description**: 我在终端模拟器里面通过API使用AI模型的一些脚本和配置。这个项目作为我的rfm文件管理器子项目,配合rfm使用更好,但也可单独使用 - **Primary Language**: Shell - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-18 - **Last Updated**: 2025-12-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AI 模型配置管理 ## 目录结构说明 ### hosts/ 目录 存放不同AI服务提供商和模型的配置 - `hosts//` - 按服务提供商分类 - `default.AI_host.json` - 该服务商的默认API配置 - 包含`base_url`等主机级别配置 - `.AI_model.json` - 特定模型的调用配置 - 包含`model_name`, `calling_script`, `term_prompt`等模型特定配置 ### shared_scripts/ 目录 存放调用AI模型的各种脚本工具 ## 配置示例 DeepSeek 主机配置: ```json { "base_url":"https://api.deepseek.com/chat/completions" } ``` OpenRouter 模型配置: ```json { "model_name":"deepseek/deepseek-r1-zero:free", "calling_script":"rfmAskOpenRouter.sh", "term_prompt":"deepseek-r1:free", "activationKey":"r>", "InNewTerm":true, "Temperature":0 } ```