返回提交历史
Modified
.github/copilot-instructions.md
+2
-2
XFEstudio/gpt4free
Fix API-only command and documentation URL based on feedback
Co-authored-by: hlohaus <983577+hlohaus@users.noreply.github.com>
95c11168
代码差异
1 个文件
+2
-2
@@ -24,7 +24,7 @@ Always reference these instructions first and fallback to search or bash command
24
24
- **CLI Help**: `g4f --help` or `python -m g4f --help`
25
25
- **Client CLI**: `g4f client --help` for interactive text generation
26
26
- **API Server**: `python -m g4f --port 8080` -- starts FastAPI server with web GUI on http://localhost:8080
27
- **API Server Only**: `python -m g4f --port 8080 --no-gui` (if supported)
27
- **API Server Only**: `python -m g4f.cli api --port 8080`
28
28
- **Python Library**:
29
29
```python
30
30
from g4f.client import Client
@@ -101,7 +101,7 @@ python etc/examples/messages.py # Example script
101
101
### Installation Alternatives
102
102
- **PyPI**: `pip install -U g4f[all]` (external, not for development)
103
103
- **Docker**: Use provided docker-compose.yml for containerized deployment
104
- **Partial installs**: See `/docs/requirements.md` for component-specific installs
104
- **Partial installs**: See https://github.com/gpt4free/g4f.dev/tree/main/docs for component-specific installs
105
105
106
106
### Known Issues and Workarounds
107
107
- **ffmpeg warning**: Expected from pydub library, does not affect functionality