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 Loading
base: v1.11.2
Choose a base ref
...
head repository: sashabaranov/go-openai Loading
compare: v1.11.3
Choose a head ref
  • 8 commits
  • 13 files changed
  • 6 contributors

Commits on Jun 17, 2023

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

Commits on Jun 18, 2023

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

Commits on Jun 19, 2023

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

Commits on Jun 20, 2023

  1. Configuration menu
    Copy the full SHA
    7203770 View commit details
    Browse the repository at this point in the history
  2. fix: chat stream returns an error response with a 'data: ' prefix (#396)

    * fix: chat stream resp has 'data: ' prefix
    
    * fix: lint error
    
    * fix: lint error
    
    * fix: lint error
    liushuangls committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    e948150 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. feat: allow more input types to functions, fix tests (#377)

    * feat: use json.rawMessage, test functions
    
    * chore: lint
    
    * fix: tests
    
    the ChatCompletion mock server doesn't actually run otherwise. N=0
    is the default request but the server will treat it as n=1
    
    * fix: tests should default to n=1 completions
    
    * chore: add back removed interfaces, custom marshal
    
    * chore: lint
    
    * chore: lint
    
    * chore: add some tests
    
    * chore: appease lint
    
    * clean up JSON schema + tests
    
    * chore: lint
    
    * feat: remove backwards compatible functions
    
    for illustrative purposes
    
    * fix: revert params change
    
    * chore: use interface{}
    
    * chore: add test
    
    * chore: add back FunctionDefine
    
    * chore: /s/interface{}/any
    
    * chore: add back jsonschemadefinition
    
    * chore: testcov
    
    * chore: lint
    
    * chore: remove pointers
    
    * chore: update comment
    
    * chore: address CR
    
    added test for compatibility as well
    
    ---------
    
    Co-authored-by: James <[email protected]>
    stillmatic and James committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    f22da8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e19b074 View commit details
    Browse the repository at this point in the history
  3. Update README.md (#399)

    sashabaranov committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    ffa7abc View commit details
    Browse the repository at this point in the history
Loading