Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
2059d97
feat(resources): Support for Serverless.type QB|LB
deanq Nov 7, 2025
f21bc82
feat(cli): add flash init project skeleton template
deanq Nov 10, 2025
b9db5fe
feat(cli): add flash init in-place with conflict warnings
deanq Nov 10, 2025
dce72e9
fix(cli): correct GPU and CPU types in skeleton README
deanq Nov 10, 2025
5d62eb3
chore(cli): lint and format fixes
deanq Nov 10, 2025
f34165c
fix(cli): correct API endpoints and request/response models in skelet…
deanq Nov 10, 2025
8479235
feat(cli): add parallel test block to skeleton interface endpoint
deanq Nov 10, 2025
6f0aaf7
Merge branch 'main' into deanq/ae-1249-improve-cli
deanq Nov 11, 2025
53795b9
perf: reduce the load footprint from runpod library
deanq Nov 14, 2025
b874154
refactor(cli): restore IDE functionality and fix command signatures
deanq Nov 14, 2025
aed00e3
build: pegged latest main branch of runpod-python for now
deanq Nov 14, 2025
8cbb166
test: fix test for lazy-loaded runpod
deanq Nov 14, 2025
c76a9cf
feat(client): add async function support to @remote decorator
deanq Nov 14, 2025
62715d8
fix: ruff format
deanq Nov 14, 2025
3517d0f
feat(client): add async function support to remote decorator
deanq Nov 14, 2025
698596c
Merge branch 'deanq/ae-1469-bug-support-async-and-non-for-remote-deco…
deanq Nov 14, 2025
b77bbec
fix(stubs): support async functions and decorator unwrapping
deanq Nov 14, 2025
37ecaa1
Merge branch 'deanq/ae-1469-bug-support-async-and-non-for-remote-deco…
deanq Nov 14, 2025
a089d42
chore: quality check
deanq Nov 14, 2025
590df46
refactor(cli): simplify skeleton template examples
deanq Nov 14, 2025
0648216
fix(cli): update flash init output to reflect new skeleton structure
deanq Nov 14, 2025
a4fccdb
refactor(cli): remove conda environment management from flash init
deanq Nov 14, 2025
7366956
docs(cli): update flash init documentation to remove conda references
deanq Nov 14, 2025
ea74f57
fix(cli): use recursive glob for worker dependency extraction
deanq Nov 14, 2025
2df184a
fix(cli): improve pip error reporting in flash build
deanq Nov 14, 2025
8f3ecd5
fix(cli): add uv pip fallback for flash build
deanq Nov 14, 2025
a4cfb6e
fix(cli): remove workers/interface and update outdated endpoint refer…
deanq Nov 14, 2025
1b54bfb
fix(cli): standardize default port to 8888 in skeleton template
deanq Nov 14, 2025
12b9b95
Merge branch 'main' into deanq/ae-1251-flash-build-handler-classifica…
deanq Nov 14, 2025
84337a7
Merge branch 'deanq/ae-1249-improve-cli' into deanq/ae-1251-flash-bui…
deanq Nov 14, 2025
dc363c6
refactor(cli): rename .tetra directory to .flash
deanq Nov 14, 2025
2845583
feat(cli): add handler discovery and classification for flash build
deanq Nov 14, 2025
a6c9a5b
fix(cli): remove false positive route conflict warnings in handler di…
deanq Nov 14, 2025
5a27411
feat(cli): limit flash CLI to init and run commands for this release
deanq Nov 14, 2025
8061b4c
Merge branch 'main' into deanq/ae-1249-improve-cli
deanq Nov 14, 2025
2f29c5e
Merge branch 'main' into deanq/ae-1249-improve-cli
deanq Nov 14, 2025
dd725f6
Merge branch 'main' into deanq/ae-1251-flash-build-handler-classifica…
deanq Nov 14, 2025
496aecc
Merge branch 'deanq/ae-1249-improve-cli' into deanq/ae-1251-flash-bui…
deanq Nov 14, 2025
f44df05
Merge branch 'main' into deanq/ae-1251-flash-build-handler-classifica…
deanq Nov 14, 2025
6516194
Merge branch 'main' into deanq/ae-1251-flash-build-handler-classifica…
deanq Nov 14, 2025
62b483d
Merge branch 'main' into deanq/ae-1251-flash-build-handler-classifica…
deanq Dec 1, 2025
ddc63db
Merge branch 'main' into deanq/ae-1251-flash-build-handler-classifica…
deanq Dec 13, 2025
2e7997d
feat: add deployment configuration module and tests
deanq Jan 3, 2026
33a680e
feat: implement AST parsing and handler discovery logic
deanq Jan 3, 2026
e230d12
feat: integrate handler discovery into build command
deanq Jan 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(cli): update flash init documentation to remove conda references
Update CLI documentation to reflect removal of conda environment management:

**flash-init.md:**
- Removed --no-env option
- Removed conda environment creation documentation
- Updated project structure to show gpu/ and cpu/ workers
- Simplified next steps to use pip install

**README.md:**
- Removed conda activate from quick start
- Removed --no-env from flash init options
- Updated project structure to match skeleton template
- Updated test endpoints to /gpu/hello and /cpu/hello

Documentation now matches the simplified init command behavior.
  • Loading branch information
deanq committed Nov 14, 2025
commit 73669560b1c1f766a59020e595e2614cc8f62c12
46 changes: 31 additions & 15 deletions src/tetra_rp/cli/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ flash init my-project
# Navigate to project
cd my-project

# Setup environment
conda activate my-project
cp .env.example .env # Add RUNPOD_API_KEY
# Install dependencies
pip install -r requirements.txt

# Add your Runpod API key to .env
# RUNPOD_API_KEY=your_key_here

# Run development server
flash run
Expand All @@ -26,17 +28,22 @@ flash run
Create a new Flash project.

```bash
flash init PROJECT_NAME [OPTIONS]
flash init [PROJECT_NAME] [OPTIONS]
```

**Options:**
- `--no-env`: Skip conda environment creation
- `--force, -f`: Overwrite existing directory
- `--force, -f`: Overwrite existing files

**Example:**
**Examples:**
```bash
# Create new project
flash init my-project
flash init my-project --no-env

# Initialize in current directory
flash init .

# Overwrite existing files
flash init my-project --force
```

[Full documentation](./flash-init.md)
Expand Down Expand Up @@ -71,10 +78,14 @@ flash run --port 3000
```
my-project/
├── main.py # Flash Server (FastAPI)
├── workers/ # GPU workers
│ ├── __init__.py
│ └── example_worker.py
├── .env.example
├── workers/
│ ├── gpu/ # GPU worker
│ │ ├── __init__.py
│ │ └── endpoint.py
│ └── cpu/ # CPU worker
│ ├── __init__.py
│ └── endpoint.py
├── .env
├── requirements.txt
└── README.md
```
Expand All @@ -90,12 +101,17 @@ RUNPOD_API_KEY=your_api_key_here

```bash
# Health check
curl http://localhost:8888/
curl http://localhost:8888/ping

# Call GPU worker
curl -X POST http://localhost:8888/process \
curl -X POST http://localhost:8888/gpu/hello \
-H "Content-Type: application/json" \
-d '{"message": "Hello GPU!"}'

# Call CPU worker
curl -X POST http://localhost:8888/cpu/hello \
-H "Content-Type: application/json" \
-d '{"data": "test input"}'
-d '{"message": "Hello CPU!"}'
```

## Getting Help
Expand Down
47 changes: 21 additions & 26 deletions src/tetra_rp/cli/docs/flash-init.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# flash init

Create a new Flash project with Flash Server and GPU workers.
Create a new Flash project with Flash Server and GPU/CPU workers.

## Usage

```bash
flash init PROJECT_NAME [OPTIONS]
flash init [PROJECT_NAME] [OPTIONS]
```

## Arguments

- `PROJECT_NAME` (required): Name of the project directory to create
- `PROJECT_NAME` (optional): Name of the project directory to create
- If omitted or `.`, initializes in current directory

## Options

- `--no-env`: Skip conda environment creation
- `--force, -f`: Overwrite existing directory
- `--force, -f`: Overwrite existing files

## Examples

```bash
# Create project with conda environment
# Create new project directory
flash init my-project

# Create without conda environment
flash init my-project --no-env
# Initialize in current directory
flash init .

# Overwrite existing directory
# Overwrite existing files
flash init my-project --force
```

Expand All @@ -35,30 +35,25 @@ flash init my-project --force
```
my-project/
├── main.py # Flash Server (FastAPI)
├── workers/ # GPU workers
│ ├── __init__.py
│ └── example_worker.py
├── .env.example
├── workers/
│ ├── gpu/ # GPU worker example
│ │ ├── __init__.py
│ │ └── endpoint.py
│ └── cpu/ # CPU worker example
│ ├── __init__.py
│ └── endpoint.py
├── .env
├── requirements.txt
├── .gitignore
└── README.md
```

## Dependencies Installed

When conda environment is created:
- `fastapi>=0.104.0`
- `uvicorn[standard]>=0.24.0`
- `python-dotenv>=1.0.0`
- `pydantic>=2.0.0`
- `aiohttp>=3.9.0`
- `tetra-rp>=0.12.0`

## Next Steps

```bash
cd my-project
conda activate my-project # if env created
cp .env.example .env # add RUNPOD_API_KEY
pip install -r requirements.txt # or use your preferred environment manager
# Add RUNPOD_API_KEY to .env
flash run
```

Visit http://localhost:8888/docs for interactive API documentation.
Loading