Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: byte-power/go-openai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sashabaranov/go-openai
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 29 files changed
  • 9 contributors

Commits on Jul 8, 2025

  1. fix: properly unmarshal JSON schema in ChatCompletionResponseFormatJS…

    …ONSchema.schema (sashabaranov#1028)
    
    * feat: sashabaranov#1027
    
    * add tests
    
    * feat: sashabaranov#1027
    
    * feat: sashabaranov#1027
    
    * feat: sashabaranov#1027
    
    * update chat_test.go
    
    * feat: sashabaranov#1027
    
    * add test cases
    eiixy authored Jul 8, 2025
    Configuration menu
    Copy the full SHA
    8e9b2ac View commit details
    Browse the repository at this point in the history
  2. Add support for Chat Completion Service Tier (sashabaranov#1023)

    * Add support for Chat Completion Service Tier
    
    * Add priority service tier
    mathewtinsley authored Jul 8, 2025
    Configuration menu
    Copy the full SHA
    bd612ce View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2025

  1. Support $ref and $defs in JSON Schema (sashabaranov#1030)

    * support $ref and $defs in JSON Schema
    
    * update
    eiixy authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    c650976 View commit details
    Browse the repository at this point in the history
  2. Improve unit test coverage (sashabaranov#1032)

    * Add unit tests to improve coverage
    
    * Fix type assertion checks in tests
    sashabaranov authored Jul 10, 2025
    Configuration menu
    Copy the full SHA
    1bf77f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2025

  1. Removed root $ref from GenerateSchemaForType (sashabaranov#1033)

    * support $ref and $defs in JSON Schema
    
    * update
    
    * removed root $ref from JSON Schema
    
    * Update json.go
    
    * Update json_test.go
    
    * Update jsonschema/json.go
    
    Co-authored-by: Copilot <[email protected]>
    
    * Update jsonschema/json.go
    
    Co-authored-by: Copilot <[email protected]>
    
    ---------
    
    Co-authored-by: Copilot <[email protected]>
    eiixy and Copilot authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    a0c185f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    575aff4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88eb1df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d681e7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8665ad7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1e91217 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3bb1014 View commit details
    Browse the repository at this point in the history
  8. Support for extra_body parameter for embeddings API (sashabaranov#906)

    * support for extra_body parameter for embeddings API
    
    * done linting
    
    * added unit tests
    
    * improved code coverage and removed unnecessary checks
    
    * test cleanup
    
    * updated body map creation code
    
    * code coverage
    
    * minor change
    
    * updated testcase comment
    AyushSawant18588 authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    bd36c45 View commit details
    Browse the repository at this point in the history
  9. Increase jsonschema test coverage (sashabaranov#1043)

    * test: expand jsonschema coverage
    
    * test: fix package name for containsref tests
    sashabaranov authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    e6c1d3e View commit details
    Browse the repository at this point in the history
  10. Add tests for internal utilities (sashabaranov#1044)

    * Add unit tests for internal test utilities
    
    * Fix lint issues in internal tests
    sashabaranov authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    181c0e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2025

  1. Add GuidedChoice to ChatCompletionRequest (sashabaranov#1034)

    * Add GuidedChoice to ChatCompletionRequest
    
    * made separate NonOpenAIExtensions
    
    * fixed lint issue
    
    * renamed struct and removed inline json tag
    
    * Update chat.go
    
    Co-authored-by: Copilot <[email protected]>
    
    * Update chat.go
    
    Co-authored-by: Copilot <[email protected]>
    
    ---------
    
    Co-authored-by: Alex Baranov <[email protected]>
    Co-authored-by: Copilot <[email protected]>
    3 people authored Jul 19, 2025
    Configuration menu
    Copy the full SHA
    4f87294 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4273cb View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2025

  1. Configuration menu
    Copy the full SHA
    f7d6ece View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2025

  1. Configuration menu
    Copy the full SHA
    f71d1a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. Add Verbosity parameter to Chat Completion Request (sashabaranov#1064)

    * add verbosity param to ChatCompletionRequest
    
    * edit comment about verbosity
    azdaev authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    8e5611c View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2025

  1. Configuration menu
    Copy the full SHA
    5d7a276 View commit details
    Browse the repository at this point in the history
Loading