Skip to content

Conversation

@xymbol
Copy link
Contributor

@xymbol xymbol commented May 8, 2025

This commit adds support for OpenAI organization and project IDs.

Closes #160

xymbol added 2 commits May 8, 2025 09:53
This commit adds support for OpenAI organization and project IDs.

Closes crmne#160
def inspect
redacted = lambda do |name, value|
if name.match?(/_key|_secret|_token$/)
if name.match?(/_id|_key|_secret|_token$/)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this, but probably a good idea.

Repository owner deleted a comment May 10, 2025
Repository owner deleted a comment May 10, 2025
@crmne crmne merged commit ea1cb51 into crmne:main May 10, 2025
5 checks passed
@codecov
Copy link

codecov bot commented May 10, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.78%. Comparing base (3a37b07) to head (d468122).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
lib/ruby_llm/configuration.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #162   +/-   ##
=======================================
  Coverage   92.78%   92.78%           
=======================================
  Files          88       88           
  Lines        3450     3450           
  Branches      510      510           
=======================================
  Hits         3201     3201           
  Misses        249      249           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

sbounmy added a commit to sbounmy/ruby_llm that referenced this pull request May 12, 2025
…ith-image

* 'main' of github.com:crmne/ruby_llm: (24 commits)
  Enhance Rails guide with detailed persistence flow explanation and setup instructions
  Remove work-in-progress warning from models documentation generation
  Add validation considerations for Message model and update persistence flow documentation
  Add note about upcoming OpenAI headers support in v1.3.0
  Handle OpenAI organization and project IDs (crmne#162)
  Refactor acts_as_message and acts_as_tool_call methods to improve parameter handling and default values
  Remove reasoning section from available models documentation and rake task
  Remove debug logging for pricing in OpenRouter models
  Updated models page
  Fixed pricing parsing for OpenRouter
  Updated models
  Add warning about work in progress for Parsera integration in available models documentation
  Major refactoring of ModelInfo and Parsera API support for listing LLM capabilities and pricing.
  Fix inflector (crmne#159)
  Use foreign_key instead of to_s for acts_as methods (crmne#157)
  Fixes #embed fails when using default embedding model
  Add support for logging to file via configuration (crmne#148)
  Updated acts_as_* helpers to use canonical 'rails-style' foreign keys (crmne#151)
  refactor(media): streamline content formatting methods across providers
  Fixed Calling `chat.to_llm` keeps appending messages to the message array
  ...
@xymbol xymbol deleted the openai-organization-id branch June 3, 2025 00:57
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.

Handle OpenAI organization and project IDs

2 participants