Skip to content

Rename module to ShopifAi#8

Draft
juharris wants to merge 1 commit into
mainfrom
ShopifAi
Draft

Rename module to ShopifAi#8
juharris wants to merge 1 commit into
mainfrom
ShopifAi

Conversation

@juharris

Copy link
Copy Markdown

Distinguish from https://github.com/alexrudall/ruby-openai

Distinguish from the official one with the same namespace (before this change)

@juharris juharris requested a review from tavianator June 27, 2026 01:31
@juharris juharris changed the title rename module to ShopifAi Rename module to ShopifAi Jun 27, 2026
@semgrep-pr-bot

Copy link
Copy Markdown

⚠️ Deprecated LLM Models Detected

This PR contains references to 12 deprecated model(s). Consider migrating to the recommended replacements.

⚠️ gpt-4 (openai)

  • Occurrences: 7
  • Severity: WARNING
  • Shopify Replacement: gpt-5
  • Hotswap Date: 2026-05-27
  • Provider Shutdown: 2026-10-23
  • Provider Suggested Replacements: gpt-5.5

Locations:

  • spec/shopif_ai/client/assistants_spec.rb:7
  • spec/shopif_ai/client/assistants_spec.rb:41
  • spec/shopif_ai/client/http_spec.rb:22
  • spec/shopif_ai/client/http_spec.rb:29
  • spec/shopif_ai/client/http_spec.rb:39
  • spec/shopif_ai/client/run_steps_spec.rb:12
  • spec/shopif_ai/client/runs_spec.rb:15

Recommended Action: Replace with gpt-5 before 2026-05-27


⚠️ gpt-3.5-turbo (openai)

  • Occurrences: 4
  • Severity: WARNING
  • Shopify Replacement: gpt-5-mini
  • Hotswap Date: 2025-12-15
  • Provider Shutdown: 2026-10-23
  • Provider Suggested Replacements: gpt-5.4-mini

Locations:

  • spec/shopif_ai/client/assistants_spec.rb:57
  • spec/shopif_ai/client/chat_spec.rb:19
  • spec/shopif_ai/client/chat_spec.rb:20
  • spec/shopif_ai/client/http_spec.rb:82

Recommended Action: Replace with gpt-5-mini before 2025-12-15


⚠️ llama3-8b-8192 (groq)

  • Occurrences: 1
  • Severity: WARNING
  • Shopify Replacement: llama-3.1-8b-instant
  • Hotswap Date: 2026-01-15
  • Provider Shutdown: 2025-08-30
  • Provider Suggested Replacements: llama-3.1-8b-instant

Locations:

  • spec/shopif_ai/client/chat_spec.rb:268

Recommended Action: Replace with llama-3.1-8b-instant before 2026-01-15


⚠️ gpt-3.5-turbo-instruct (openai)

  • Occurrences: 3
  • Severity: WARNING
  • Shopify Replacement: gpt-4o-mini
  • Hotswap Date: 2025-12-15
  • Provider Shutdown: 2026-09-28
  • Provider Suggested Replacements: gpt-5.4-mini, gpt-5-mini

Locations:

  • spec/shopif_ai/client/completions_spec.rb:2
  • spec/shopif_ai/client/completions_spec.rb:18
  • spec/shopif_ai/client/models_spec.rb:16

Recommended Action: Replace with gpt-4o-mini before 2025-12-15


⚠️ text-embedding-ada-002 (azure)

  • Occurrences: 2
  • Severity: WARNING
  • Provider Shutdown: 2027-04-15

Locations:

  • spec/shopif_ai/client/embeddings_spec.rb:14
  • spec/shopif_ai/client/embeddings_spec.rb:15

⚠️ gpt-4o-2024-08-06 (openai)

  • Occurrences: 1
  • Severity: WARNING
  • Shopify Replacement: gpt-5.1
  • Hotswap Date: 2026-05-27

Locations:

  • spec/shopif_ai/client/finetunes_spec.rb:3

Recommended Action: Replace with gpt-5.1 before 2026-05-27


⚠️ dall-e-2 (openai)

  • Occurrences: 3
  • Severity: WARNING
  • Provider Shutdown: 2026-05-12
  • Provider Suggested Replacements: gpt-image-2, gpt-image-1, gpt-image-1-mini

Locations:

  • spec/shopif_ai/client/images_spec.rb:3
  • spec/shopif_ai/client/images_spec.rb:17
  • spec/shopif_ai/client/images_spec.rb:45

Suggested Action: Consider migrating to gpt-image-2 or gpt-image-1 or gpt-image-1-mini


⚠️ dall-e-3 (openai)

  • Occurrences: 4
  • Severity: WARNING
  • Shopify Replacement: gpt-image-1
  • Hotswap Date: 2026-01-15
  • Provider Shutdown: 2026-05-12
  • Provider Suggested Replacements: gpt-image-2, gpt-image-1, gpt-image-1-mini

Locations:

  • spec/shopif_ai/client/images_spec.rb:77
  • spec/shopif_ai/client/images_spec.rb:91
  • spec/shopif_ai/client/images_spec.rb:92
  • spec/shopif_ai/client/images_spec.rb:115

Recommended Action: Replace with gpt-image-1 before 2026-01-15


⚠️ gpt-image-1 (azure)

  • Occurrences: 1
  • Severity: WARNING
  • Provider Shutdown: 2026-10-23

Locations:

  • spec/shopif_ai/client/images_spec.rb:136

⚠️ gpt-image-1 (openai)

  • Occurrences: 1
  • Severity: WARNING
  • Provider Shutdown: 2026-10-23
  • Provider Suggested Replacements: gpt-image-2

Locations:

  • spec/shopif_ai/client/images_spec.rb:136

Suggested Action: Consider migrating to gpt-image-2


⚠️ gpt-4o-realtime-preview-2024-12-17 (openai)

  • Occurrences: 1
  • Severity: WARNING
  • Shopify Replacement: gpt-realtime
  • Hotswap Date: 2026-01-15
  • Provider Shutdown: 2026-05-07
  • Provider Suggested Replacements: gpt-realtime-1.5

Locations:

  • spec/shopif_ai/client/realtime_spec.rb:17

Recommended Action: Replace with gpt-realtime before 2026-01-15


⚠️ gpt-4o (openai)

  • Occurrences: 4
  • Severity: WARNING
  • Shopify Replacement: gpt-5.1
  • Hotswap Date: 2026-05-27

Locations:

  • spec/shopif_ai/client/responses_spec.rb:4
  • spec/shopif_ai/client/responses_spec.rb:156
  • spec/shopif_ai/client/responses_spec.rb:179
  • spec/shopif_ai/client/responses_spec.rb:202

Recommended Action: Replace with gpt-5.1 before 2026-05-27


📚 Resources

💡 This is an informational warning - it will not block your PR. However, please plan to migrate away from deprecated models before their shutdown dates.
💡 Please reach out to #help-proxy-shopify-ai if you have any questions.

🤖 Posted by Deprecated Models GitHub App

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant