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: sashabaranov/go-openai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.30.3
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: v1.32.3
Choose a head ref
  • 14 commits
  • 16 files changed
  • 14 contributors

Commits on Sep 20, 2024

  1. run_id string Optional (#855)

    Filter messages by the run ID that generated them.
    
    Co-authored-by: wappi <[email protected]>
    floodwm and wappipro authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    e095df5 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Optimize Client Error Return (#856)

    * update client error return
    
    * update client_test.go
    
    * update client_test.go
    
    * update file_api_test.go
    
    * update client_test.go
    
    * update client_test.go
    eiixy authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    38bdc81 View commit details
    Browse the repository at this point in the history
  2. Fix max_completion_tokens (#860)

    The json tag is incorrect, and results in an error from the API when using the o1 model.  
    
    I didn't modify the struct field name to maintain compatibility if anyone else had started using it, but it wouldn't work for them either.
    alexsacr authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7f80303 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9d8485 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fdd59d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. fix MaxCompletionTokens typo (#862)

    * fix spelling error
    
    * fix lint
    
    * Update chat.go
    
    * Update chat.go
    l-winston authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    bac7d59 View commit details
    Browse the repository at this point in the history
  2. add jailbreak filter result, add ContentFilterResults on output (#864)

    * add jailbreak filter result
    
    * add content filter results on completion output
    
    * add profanity content filter
    juliomartinsdev authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    7c145eb View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Completion API: add new params (#870)

    * Completion API: add 'store' param
    
    This param allows you to opt a completion request in to being stored,
    for use in distillations and evals.
    
    * Add cached and audio tokens to usage structs
    
    These have been added to the completions API recently:
    https://platform.openai.com/docs/api-reference/chat/object#chat/object-usage
    isaacseymour authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9913264 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    cfe15ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21f7134 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Cleanup (#879)

    * remove obsolete files
    
    * update readme
    sashabaranov authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    b162541 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9fe2c6c View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Handling for non-json response (#881)

    * removed handling for non-json response
    
    * added response body in RequestError.Error() and updated tests
    
    * done linting
    AyushSawant18588 authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    fb15ff9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3672c0d View commit details
    Browse the repository at this point in the history
Loading