Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,11 @@ context = { workspace = true }
django-hello = { workspace = true }
dynamic-tools = { workspace = true }
evaluators = { workspace = true }
fastapi-bugbot = { workspace = true }
flask-hello = { workspace = true }
gemini-code-execution = { workspace = true }
gemini-context-caching = { workspace = true }
google-genai-media = { workspace = true }
middleware = { workspace = true }
middleware-coding-agent = { workspace = true }
ollama-sample = { workspace = true }
output-formats = { workspace = true }
prompts = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Dev UI: http://localhost:4000. Most samples need `GEMINI_API_KEY`. See [plugins/
| `context` | Pass context through `generate()`, flows, and tools |
| `dynamic-tools` | Create a tool at runtime and trace plain functions |
| `evaluators` | Run simple custom evaluators with `genkit eval:run` |
| `fastapi-bugbot` | A small FastAPI app that reviews code |
| `flask-hello` | Expose Genkit flows through Flask |
| `gemini-code-execution` | Ask Gemini to write and run code |
| `gemini-context-caching` | Cache a large source document for follow-up prompts |
Expand Down
2 changes: 1 addition & 1 deletion samples/django-hello/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Django Hello

Serve a Genkit flow through Django and stream the model response back to the client. Mirrors `flask-hello` and `fastapi-bugbot` but uses Django's ASGI server and the `genkit-plugin-django` adaptor.
Serve a Genkit flow through Django and stream the model response back to the client. Mirrors `flask-hello` but uses Django's ASGI server and the `genkit-plugin-django` adaptor.

```bash
export GEMINI_API_KEY=your-api-key
Expand Down
3 changes: 1 addition & 2 deletions samples/django-hello/recipes/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
from genkit_google_genai import GoogleAI
from pydantic import BaseModel, Field

from genkit import Genkit, ModelResponse
from genkit._core._action import ActionRunContext
from genkit import ActionRunContext, Genkit, ModelResponse
from genkit.plugin_api import RequestData

ai = Genkit(
Expand Down
26 changes: 0 additions & 26 deletions samples/fastapi-bugbot/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions samples/fastapi-bugbot/prompts/analyze_bugs.prompt

This file was deleted.

27 changes: 0 additions & 27 deletions samples/fastapi-bugbot/prompts/analyze_diff.prompt

This file was deleted.

24 changes: 0 additions & 24 deletions samples/fastapi-bugbot/prompts/analyze_security.prompt

This file was deleted.

24 changes: 0 additions & 24 deletions samples/fastapi-bugbot/prompts/analyze_style.prompt

This file was deleted.

18 changes: 0 additions & 18 deletions samples/fastapi-bugbot/pyproject.toml

This file was deleted.

153 changes: 0 additions & 153 deletions samples/fastapi-bugbot/src/main.py

This file was deleted.

5 changes: 2 additions & 3 deletions samples/flask-hello/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
from genkit_google_genai import GoogleAI
from pydantic import BaseModel, Field

from genkit import Genkit, ModelResponse
from genkit._core._action import ActionRunContext
from genkit._core._context import RequestData
from genkit import ActionRunContext, Genkit, ModelResponse
from genkit.plugin_api import RequestData

ai = Genkit(
plugins=[GoogleAI()],
Expand Down
Loading
Loading