Skip to content

Commit 79a83f5

Browse files
authored
Merge branch 'main' into feature/gerrit-authentication
2 parents 25311e8 + dc65145 commit 79a83f5

File tree

29 files changed

+5438
-715
lines changed

29 files changed

+5438
-715
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
contact_links:
2-
- name: 💡 Feature Request
3-
url: https://github.com/sourcebot-dev/sourcebot/discussions/new?category=ideas
4-
about: Suggest any ideas you have using our discussion forums.
52
- name: 🛟 Get Help
63
url: https://github.com/sourcebot-dev/sourcebot/discussions/new?category=support
74
about: If you can't get something to work the way you expect, open a question in our discussion forums.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: "💡 Feature Request"
3+
about: Suggest an idea for this project
4+
title: "[FR] "
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
<!-- Please search existing issues to avoid creating duplicates. -->
11+
12+
<!-- Describe the feature you'd like. -->

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- Added multi-branch indexing support for Gerrit. [#433](https://github.com/sourcebot-dev/sourcebot/pull/433)
12+
- [ask sb] Added `reasoningEffort` option to OpenAI provider. [#446](https://github.com/sourcebot-dev/sourcebot/pull/446)
13+
- [ask db] Added `headers` option to all providers. [#449](https://github.com/sourcebot-dev/sourcebot/pull/449)
14+
15+
### Fixed
16+
- Removed prefix from structured log output. [#443](https://github.com/sourcebot-dev/sourcebot/pull/443)
17+
- [ask sb] Fixed long generation times for first message in a chat thread. [#447](https://github.com/sourcebot-dev/sourcebot/pull/447)
18+
19+
### Changed
20+
- Bumped AI SDK and associated packages version. [#444](https://github.com/sourcebot-dev/sourcebot/pull/444)
1221

1322
## [4.6.3] - 2025-08-04
1423

docs/docs/configuration/language-model-providers.mdx

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ For a detailed description of all the providers, please refer to the [schema](ht
248248
"token": {
249249
"env": "OPENAI_API_KEY"
250250
},
251-
"baseUrl": "OPTIONAL_BASE_URL"
251+
"baseUrl": "OPTIONAL_BASE_URL",
252+
"reasoningEffort": "OPTIONAL_REASONING_EFFORT" // defaults to "medium"
252253
}
253254
]
254255
}
@@ -323,8 +324,34 @@ The OpenAI compatible provider allows you to use any model that is compatible wi
323324
}
324325
```
325326

327+
# Custom headers
328+
329+
You can pass custom headers to the language model provider by using the `headers` parameter. Header values can either be a string or a environment variable. Headers are supported for all providers.
330+
331+
```json wrap icon="code" Example config with custom headers
332+
{
333+
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
334+
"models": [
335+
{
336+
// ... provider, model, displayName, etc...
337+
338+
// Key-value pairs of headers
339+
"headers": {
340+
// Header values can be passed as a environment variable...
341+
"my-secret-header": {
342+
"env": "MY_SECRET_HEADER_ENV_VAR"
343+
},
344+
345+
// ... or directly as a string.
346+
"my-non-secret-header": "plaintextvalue"
347+
}
348+
}
349+
]
350+
}
351+
```
352+
326353

327-
## Schema reference
354+
# Schema reference
328355

329356
<Accordion title="Reference">
330357
[schemas/v3/languageModel.json](https://github.com/sourcebot-dev/sourcebot/blob/main/schemas/v3/languageModel.json)

docs/docs/features/agents/review-agent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ codebase that the agent may fetch to perform the review.
1010

1111
This agent provides codebase-aware reviews for your PRs. For each diff, this agent fetches relevant context from Sourcebot and feeds it into an LLM for a detailed review of your changes.
1212

13-
The AI Code Review Agent is [open source](https://github.com/sourcebot-dev/sourcebot/tree/main/packages/web/src/features/agents/review-agent) and packaged in [Sourcebot](https://github.com/sourcebot-dev/sourcebot). To get started using this agent, [deploy Sourcebot](/docs/deployment-guide)
13+
The AI Code Review Agent is [fair source](https://github.com/sourcebot-dev/sourcebot/tree/main/packages/web/src/features/agents/review-agent) and packaged in [Sourcebot](https://github.com/sourcebot-dev/sourcebot). To get started using this agent, [deploy Sourcebot](/docs/deployment-guide)
1414
and then follow the configuration instructions below.
1515

1616
![AI Code Review Agent Example](/images/review_agent_example.png)

docs/docs/license-key.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebarTitle: License key
77
If you'd like a trial license, [reach out](https://www.sourcebot.dev/contact) and we'll send one over within 24 hours
88
</Note>
99

10-
All core Sourcebot features are available in Sourcebot OSS (MIT Licensed) without any limits. Some additional features require a license key. See the [pricing page](https://www.sourcebot.dev/pricing) for more details.
10+
All core Sourcebot features are available [FSL licensed](https://github.com/sourcebot-dev/sourcebot/blob/main/LICENSE.md#functional-source-license-version-11-alv2-future-license) without any limits. Some additional features require a license key. See the [pricing page](https://www.sourcebot.dev/pricing) for more details.
1111

1212

1313
## Activating a license key

docs/docs/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ title: "Overview"
2222
- **Self-hosted:** Deploy it in minutes using our official [docker container](https://github.com/sourcebot-dev/sourcebot/pkgs/container/sourcebot). All of your data stays on your machine.
2323
- **Modern design:** Light/Dark mode, vim keybindings, keyboard shortcuts, syntax highlighting, etc.
2424
- **Scalable:** Scales to millions of lines of code.
25-
- **Open-source:** Core features are MIT licensed.
25+
- **Fair-source:** Core features are [FSL licensed](https://github.com/sourcebot-dev/sourcebot/blob/main/LICENSE.md#functional-source-license-version-11-alv2-future-license).
2626
</Accordion>
2727
</AccordionGroup>
2828

@@ -196,7 +196,7 @@ Sourcebot does not support horizontal scaling at this time, but it is on our roa
196196
## License key
197197
---
198198

199-
Sourcebot's core features are available under an [MIT license](https://github.com/sourcebot-dev/sourcebot/blob/HEAD/LICENSE) without any limits. Some [additional features](/docs/license-key#feature-availability) such as SSO and code navigation require a [license key](/docs/license-key).
199+
Sourcebot's core features are available under an [FSL licensed](https://github.com/sourcebot-dev/sourcebot/blob/main/LICENSE.md#functional-source-license-version-11-alv2-future-license) without any limits. Some [additional features](/docs/license-key#feature-availability) such as SSO and code navigation require a [license key](/docs/license-key).
200200

201201
<CardGroup cols={2}>
202202
<Card title="Pricing page" href="https://www.sourcebot.dev/pricing" />

0 commit comments

Comments
 (0)