Code AI platform with Code Search & Cody
Go to file
Erik Seliger fe8e70d94d
Unify API for code completions and chat (#51962)
This PR makes the input / output of these two endpoints the same, making
them effectively the same thing, with the only difference that another
model is chosen for code, and that code completions are non-streaming.
This will be useful long-term as there's less divergence, and help make
the implementation of additional upstream providers easier as only one
method needs to be implemented in most cases.
2023-05-17 00:11:14 +02:00
.aspect bazel: test volatile variables with Percy (#51693) 2023-05-11 09:20:42 +00:00
.buildkite ci: install asdf deps on Publish Executor step (#51941) 2023-05-15 20:01:53 +02:00
.github app: add tauri github action to build app for mac and linux (#51043) 2023-05-10 17:26:11 +00:00
.vscode app: Add system tray (#51213) 2023-04-28 11:59:27 +01:00
client Unify API for code completions and chat (#51962) 2023-05-17 00:11:14 +02:00
cmd Observation: use opentelemetry types rather than opentracing types (#51958) 2023-05-16 09:19:27 -06:00
dev ci: add annotation for linters (#51800) 2023-05-15 17:40:58 +00:00
doc executors: doc improvements (#51313) 2023-05-16 12:42:24 -06:00
docker-images Add tree-sitter highlighting for Kotlin (#51535) 2023-05-08 09:18:59 -07:00
enterprise Unify API for code completions and chat (#51962) 2023-05-17 00:11:14 +02:00
internal batch: Update postgres max num parameters (#51934) 2023-05-16 11:34:39 -05:00
lib output: change grey colour to darker (#51477) 2023-05-04 17:43:25 +01:00
migrations codeintel: Fix ranking column size (#52010) 2023-05-16 16:27:31 +00:00
monitoring ranking: Update dashboards (#51844) 2023-05-12 19:28:22 +00:00
schema completions: Fixup schema validation (#52024) 2023-05-17 00:09:56 +02:00
src-tauri app: land Tom's Cody-in-system-tray experiment (#51755) 2023-05-15 16:53:42 -07:00
third_party ci: enable bazel builds for docker images (#51241) 2023-04-28 10:41:13 +02:00
third-party-licenses chore: update third-party licenses (#51023) 2023-04-24 07:11:24 +02:00
ui/assets bazel: Bazel build browser extension + code-intel-extensions (#51135) 2023-05-02 03:33:52 -07:00
wolfi-images Build Wolfi images (#47182) 2023-04-24 17:32:36 +00:00
wolfi-packages Build Wolfi images (#47182) 2023-04-24 17:32:36 +00:00
.bazel_fix_commands.json bazel: add command sets that uses bazel under the hood (#48460) 2023-03-02 11:31:51 +01:00
.bazelignore bazel: disable build-ts and build client/cody with Bazel (#51404) 2023-05-05 03:57:10 -07:00
.bazeliskrc bazel: upgrade bazel-cli (#51141) 2023-04-26 02:18:05 -07:00
.bazelrc bazel: make work on nixos ❇️ (#51154) 2023-04-28 20:06:33 +00:00
.bazelversion Update bazel to 6.1.1 (#50472) 2023-04-11 10:51:21 +02:00
.browserslistrc web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
.dockerignore web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
.editorconfig chore: Add .lua to editorconfig. (#44267) 2022-11-11 15:25:32 +08:00
.eslintignore bazel: decouple web application bundle from integration tests modules (#51560) 2023-05-10 06:47:56 +00:00
.eslintrc.js Better import ordering with prettier (#48188) 2023-03-13 08:37:23 +00:00
.gitattributes bazel: Build syntax-highlighter (#48703) 2023-03-08 19:08:09 +08:00
.gitignore bazel: test volatile variables with Percy (#51693) 2023-05-11 09:20:42 +00:00
.graphqlrc.yml
.hadolint.yaml
.mailmap mailmap: add entries for Eric and Renovate (#50966) 2023-04-25 09:42:22 +02:00
.mocharc.js build: still need BAZEL_BINDIR for webpack_bundle custom rule (#48796) 2023-03-07 20:02:11 -08:00
.npmrc pnpm: remove update notifier message (#51630) 2023-05-10 08:53:39 +02:00
.percy.yml
.prettierignore bazel: decouple web application bundle from integration tests modules (#51560) 2023-05-10 06:47:56 +00:00
.stylelintignore rework plugin structure and implement frontside blogpost (#46883) 2023-02-15 11:49:51 +02:00
.stylelintrc.json web: drop bootstrap depenedency (#41401) 2022-09-07 03:11:26 -07:00
.tool-versions Updating pnpm to 8.1.x (#51407) 2023-05-03 15:04:12 +02:00
.trivyignore
babel.config.jest.js bazel: fix the web application bundle in Bazel (#50383) 2023-04-10 21:16:12 -07:00
babel.config.js bazel: fix the web application bundle in Bazel (#50383) 2023-04-10 21:16:12 -07:00
BUILD.bazel gRPC: add support for accesslog interceptor in gitserver package (#51437) 2023-05-15 16:16:42 +00:00
CHANGELOG.md Update changelog (#51912) 2023-05-15 08:36:20 +00:00
CODENOTIFY nix: update pnpm hash (#51512) 2023-05-05 12:51:59 +00:00
CONTRIBUTING.md Docs: Fix docs page link in main CONTRIBUTING.md (#45160) 2022-12-05 14:57:45 +01:00
deps.bzl mvu: handle missing 'auto_upgrade' column in versions table (#51942) 2023-05-15 21:05:26 +00:00
doc.go
flake.lock nix: tidy & static comby+ctags+p4-fusion on linux+darwin (#49884) 2023-04-28 00:52:57 +01:00
flake.nix nix: set formatter & use nil instead of rnix-lsp (#51409) 2023-05-03 12:56:44 +00:00
gen.go chore: Update go-mockgen (#44305) 2022-11-11 19:24:00 +00:00
go.mod mvu: handle missing 'auto_upgrade' column in versions table (#51942) 2023-05-15 21:05:26 +00:00
go.sum mvu: handle missing 'auto_upgrade' column in versions table (#51942) 2023-05-15 21:05:26 +00:00
graphql-schema-linter.config.js
gulpfile.js web: drop legacy GraphQL schema generator (#45945) 2022-12-25 18:10:20 -08:00
jest.config.base.js bazel: wildcard jest tests (#49282) 2023-03-17 03:38:49 -07:00
jest.config.js
jest.snapshot-resolver.js bazel: wildcard jest tests (#49282) 2023-03-17 03:38:49 -07:00
LICENSE
LICENSE.apache
LICENSE.enterprise
lighthouserc.js web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
linter_deps.bzl bazel: add unparam nogo linter (#50730) 2023-04-18 10:03:35 +00:00
mockgen.temp.yaml Revert "Embeddings: multi-repo search" (#51969) 2023-05-16 06:44:26 +02:00
mockgen.test.yaml llm-proxy: implement authentication middleware (#51391) 2023-05-04 18:10:57 -04:00
mockgen.yaml
nogo_config.json bazel: add depguard as a nogo linter (#50585) 2023-04-13 14:19:45 +02:00
package.json bazel: test volatile variables with Percy (#51693) 2023-05-11 09:20:42 +00:00
pnpm-lock.yaml ci: add annotation for linters (#51800) 2023-05-15 17:40:58 +00:00
pnpm-workspace.yaml cody: development branch (#49761) 2023-03-23 20:41:11 +01:00
postcss.config.js
prettier.config.js clean up Cody CSS to increase shareability and improve display in web app (#50279) 2023-04-03 12:29:05 -07:00
README.md update readme and docs index for 5.0 (#49988) 2023-03-24 21:48:46 -06:00
renovate.json
SECURITY.md
service-catalog.yaml lib/servicecatalog: init to distribute catalog (#46999) 2023-01-26 17:22:27 -08:00
sg.config.yaml llmproxy: use static secret for health checks (#51971) 2023-05-16 11:28:33 -07:00
shell.nix nix: drop static bazel tools hack (#51555) 2023-05-08 14:05:33 +01:00
svgo.config.js
tsconfig.all.json unskip cody integration test & add another (#51019) 2023-04-23 22:19:16 -07:00
tsconfig.base.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
tsconfig.eslint.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
WORKSPACE gRPC: add support for accesslog interceptor in gitserver package (#51437) 2023-05-15 16:16:42 +00:00

DocsContributingTwitterDiscord

Build status Scorecard Latest release Discord Contributors


Sourcegraph makes it easy to read, write, and fix code—even in big, complex codebases.

  • Code search: Search all of your repositories across all branches and all code hosts.
  • Code intelligence: Navigate code, find references, see code owners, trace history, and more.
  • Fix and refactor: Roll out large-scale changes to many repositories at once and track big migrations.

Getting started



Development

Refer to the Developing Sourcegraph guide to get started.

Documentation

The doc directory has additional documentation for developing and understanding Sourcegraph:

License

This repository contains both OSS-licensed and non-OSS-licensed files. We maintain one repository rather than two separate repositories mainly for development convenience.

All files in the enterprise and client/web/src/enterprise fall under LICENSE.enterprise.

The remaining files fall under the Apache 2 license. Sourcegraph OSS is built only from the Apache-licensed files in this repository.