File size: 1,051 Bytes
e42a6a3
bba179e
 
 
 
e42a6a3
 
 
 
 
 
cf96549
 
 
5ac4acf
 
 
 
 
 
cf96549
 
 
 
 
 
5ac4acf
cf96549
 
 
 
5ac4acf
 
 
cf96549
99464c1
 
 
 
cf96549
 
 
 
 
 
5ac4acf
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: startship
emoji: 👁
colorFrom: indigo
colorTo: indigo
sdk: gradio
sdk_version: 4.38.1
app_file: app.py
pinned: false
---


## Starship 前端助手

### 环境要求

1. Python >= 3.11
2. OpenRouter 需要翻墙,DeepSeek 和 Tongyi 不需要
3. 对应平台的 `API_KEY`

### 安装

使用 pip:

    pip install -r requirements.txt

或者使用 [Rye](https://rye.astral.sh/):

    rye sync
    source .venv/bin/activate

将环境变量 `.env` 复制一份改为 `.env.local`,并根据实际情况修改。
`.env.local` 中的环境变量会优先覆盖 `.env` 中的环境变量。


支持的模型:
[![DeepSeek](https://img.shields.io/badge/LLM-DeepSeek-blue)](https://deepseek.com/)
[![通义](https://img.shields.io/badge/LLM-Tongyi-blue)](https://dashscope.aliyun.com/)
[![OpenRouter](https://img.shields.io/badge/LLM-OpenRouter-blue)](https://openrouter.ai/)


### 屏幕截图

![screenshot](screenshot.png)

### TODO

- [ ] 增加模型选择
- [ ] 多模态,解析图片和文档
- [ ] 增加更多预定义 agent