Skip to content

Commit 6fc4e97

Browse files
committed
Remove production templates and redundant Gemini template
1 parent 6ef19fb commit 6fc4e97

File tree

13 files changed

+1
-270
lines changed

13 files changed

+1
-270
lines changed

shiny/_main_create.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,6 @@ def chat_hello_providers(self) -> list[ShinyTemplate]:
231231
def chat_enterprise(self) -> list[ShinyTemplate]:
232232
return self._templates("templates/chat/enterprise")
233233

234-
@property
235-
def chat_production(self) -> list[ShinyTemplate]:
236-
return self._templates("templates/chat/production")
237-
238234

239235
shiny_internal_templates = ShinyInternalTemplates()
240236

@@ -264,7 +260,6 @@ def use_internal_template(
264260
chat_templates = [
265261
*shiny_internal_templates.chat_hello_providers,
266262
*shiny_internal_templates.chat_enterprise,
267-
*shiny_internal_templates.chat_production,
268263
]
269264

270265
menu_choices = [
@@ -356,7 +351,6 @@ def use_internal_chat_ai_template(
356351
choices=[
357352
Choice(title="By provider...", value="_chat-ai_hello-providers"),
358353
Choice(title="Enterprise providers...", value="_chat-ai_enterprise"),
359-
Choice(title="Production-ready chat AI", value="_chat-ai_production"),
360354
back_choice,
361355
cancel_choice,
362356
],
@@ -375,9 +369,7 @@ def use_internal_chat_ai_template(
375369
)
376370
return
377371

378-
if input == "_chat-ai_production":
379-
template_choices = shiny_internal_templates.chat_production
380-
elif input == "_chat-ai_enterprise":
372+
if input == "_chat-ai_enterprise":
381373
template_choices = shiny_internal_templates.chat_enterprise
382374
else:
383375
template_choices = shiny_internal_templates.chat_hello_providers
@@ -392,7 +384,6 @@ def use_internal_chat_ai_template(
392384
[
393385
*shiny_internal_templates.chat_hello_providers,
394386
*shiny_internal_templates.chat_enterprise,
395-
*shiny_internal_templates.chat_production,
396387
],
397388
choice,
398389
)

shiny/templates/chat/hello-providers/gemini/_template.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

shiny/templates/chat/hello-providers/gemini/app.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

shiny/templates/chat/hello-providers/gemini/app_utils.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

shiny/templates/chat/hello-providers/gemini/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

shiny/templates/chat/production/anthropic/_template.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

shiny/templates/chat/production/anthropic/app.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

shiny/templates/chat/production/anthropic/app_utils.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

shiny/templates/chat/production/anthropic/requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

shiny/templates/chat/production/openai/_template.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)