No description
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Prepare the repository for being made public with proper attribution to the original upstream project, as required by Apache-2.0 §4. - Add `NOTICE`: fork of the gptscript-ai upstream project originally developed by Acorn Labs, Inc. and the gptscript-ai contributors (Apache-2.0), "Modifications Copyright 2026 BasePeak GmbH", the maintained location, and a statement that files were modified since the fork on 2026-06-13 with git history recording the changes (Apache §4(b); no per-file headers) - Add/rewrite `README.md`: short description, module path `git.basepeak.dev/basepeak-ai/chat-completion-client`, origin/attribution section linking upstream, and a License section - `LICENSE` (Apache-2.0) is unchanged - Deeper provenance: upstream was itself a hard fork of [sashabaranov/go-openai](https://github.com/sashabaranov/go-openai) (Apache-2.0, no upstream NOTICE file); credited in both NOTICE and README. The previous README's statement about this is preserved in substance. No CI workflow exists in this repository, so there are no checks on this PR. |
||
| .gitignore | ||
| chat.go | ||
| chat_stream.go | ||
| client.go | ||
| common.go | ||
| config.go | ||
| error.go | ||
| go.mod | ||
| LICENSE | ||
| messages.go | ||
| models.go | ||
| NOTICE | ||
| ratelimit.go | ||
| README.md | ||
| request_builder.go | ||
| stream_reader.go | ||
chat-completion-client
A minimal Go client for OpenAI-compatible chat completion APIs (including streaming). It contains only the API surface needed by GPTScript.
go get git.basepeak.dev/basepeak-ai/chat-completion-client
import openai "git.basepeak.dev/basepeak-ai/chat-completion-client"
Origin and attribution
This repository is a fork of gptscript-ai/chat-completion-client, originally developed by
Acorn Labs, Inc. (now Obot Inc.) and the gptscript-ai contributors.
BasePeak GmbH has maintained it as a hard fork since 2026-06-13 under the
module path git.basepeak.dev/basepeak-ai/chat-completion-client. Many thanks to the
original authors.
The upstream project was itself a hard fork of sashabaranov/go-openai by Alexander Baranov and the go-openai contributors (Apache-2.0), trimmed down to just the APIs needed by GPTScript.
License
Licensed under the Apache License, Version 2.0.
- Original work Copyright 2024-2025 Obot Inc. (formerly Acorn Labs, Inc.)
- Modifications Copyright 2026 BasePeak GmbH
See NOTICE for attribution details.