Code AI platform with Code Search & Cody
Go to file
Erik Seliger e0f401aee3
codygateway: Expose allowed models in limiter status endpoint (#58141)
This adds the set of allowed models to the `GET /v1/limits` API endpoint for feature detection.

## Test plan

Verified locally that the endpoint still works and that model names are returned correctly.
2023-11-07 04:03:04 +00:00
.aspect un-hardcode $DISPLAY for e2e tests to support non-headless local e2e test running (#57781) 2023-10-21 11:29:35 -10:00
.buildkite skip pre-command hook for aspect agent queue (#57942) 2023-10-27 12:06:52 +02:00
.github Chore: remove team notification every time "batch" is mentioned (#58050) 2023-11-01 15:45:40 +00:00
.vscode Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
client blob: Fix missing blame decoration (#58129) 2023-11-06 20:25:46 +01:00
cmd codygateway: Expose allowed models in limiter status endpoint (#58141) 2023-11-07 04:03:04 +00:00
dev Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
doc Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
docker-images scip-ctags: add kinds support for C (#58082) 2023-11-06 17:44:25 +01:00
internal Unskip flaky sub-repo permissions tests (#57854) 2023-11-06 11:07:35 +00:00
lib ci: add step to run go mod tidy across the code bases (#58011) 2023-10-31 15:04:57 +02:00
migrations [Cody PLG] add mutation & gql field to upgrade users to Cody Pro (#58074) 2023-11-03 17:04:13 +05:30
monitoring go mod tidy in monitoring/ (#57966) 2023-10-27 22:41:34 -10:00
schema Add options to configure internal repo handling for GitLab (#57858) 2023-10-31 12:37:08 +00:00
src-tauri Chore: move app scripts out of enterprise (#57388) 2023-10-05 17:52:58 +00:00
testing bzl: do not mount data volumes for e2e tests (#58101) 2023-11-03 16:53:59 +02:00
third_party local: fix issues when cross-compiling syntax-highlighter to produce a container image on Mac machines (#55969) 2023-08-22 12:46:43 +02:00
third-party-licenses chore: update third-party licenses (#58110) 2023-11-06 09:37:24 +02:00
tools/release bzl: rework how we populate the database schemas for migrator (#57591) 2023-10-23 15:40:09 +02:00
ui/assets use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
windows/installer/cody call it "Cody" not "Cody AI" (#56863) 2023-09-21 08:49:02 -05:00
wolfi-images upgrade nodejs to 20.8 (#57910) 2023-10-26 22:25:24 -07:00
wolfi-packages Update ctags epoch (#57874) 2023-10-24 18:08:20 +01: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 bazelignore storybook static files (#57501) 2023-10-10 09:00:30 +09:00
.bazeliskrc chore: upgrade to Aspect CLI 5.8.5 (#57961) 2023-10-30 17:01:58 +02:00
.bazelrc bzl: update skylib, bazellib, rules_js, rules_rust (#57622) 2023-10-16 11:51:29 +00:00
.bazelversion build: upgrade to Bazel 7 pre-release (#57970) 2023-10-31 15:29:14 +02:00
.dockerignore use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
.editorconfig proto: Add editorconfig to ident using two spaces (#57281) 2023-10-03 00:39:42 +00:00
.eslintrc.js Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
.gitattributes github: show bazel diff again (#54719) 2023-07-07 16:43:45 +00:00
.gitignore use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
.graphqlrc.yml
.hadolint.yaml bump comby version to 1.7.1 (#35830) 2022-05-20 20:12:01 -07:00
.mailmap mailmap: add entries for Eric and Renovate (#50966) 2023-04-25 09:42:22 +02:00
.mocharc.js Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
.npmrc pnpm: remove update notifier message (#51630) 2023-05-10 08:53:39 +02:00
.percy.yml ci: percy defer snapshots upload (#54116) 2023-06-25 18:57:49 -07:00
.pre-commit-config.yaml local: don't let pre-commit run no DB md files (#58094) 2023-11-03 08:50:10 +00:00
.prettierignore prettier: add package to prettier ignore (#58118) 2023-11-06 12:48:44 +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
.swcrc use swc instead of babel for faster bazel typescript transpilation (#57912) 2023-11-02 22:49:03 -07:00
.tool-versions upgrade nodejs to 20.8 (#57910) 2023-10-26 22:25:24 -07:00
.trivyignore
babel.config.jest.js Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
babel.config.js Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
BUILD.bazel Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
CHANGELOG.app.md update code references to "Sourcegraph App" -> "Cody App" (#56747) 2023-09-19 12:31:12 -10:00
CHANGELOG.md Release: deactivate 5.2.2 release (#58081) 2023-11-02 17:22:50 +00:00
CODENOTIFY nix: update pnpm hash (#51512) 2023-05-05 12:51:59 +00:00
CONTRIBUTING.md enterprise: Move last directory out (#57392) 2023-10-05 20:15:40 +00:00
deps.bzl Chore: Fix CVE & bump golang dependencies (#58102) 2023-11-03 17:28:52 +00:00
doc.go
eslint-relative-formatter.js bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
flake.lock nix: upgrade node and pnpm (#58015) 2023-10-31 17:55:55 +02:00
flake.nix nix: upgrade node and pnpm (#58015) 2023-10-31 17:55:55 +02:00
gen.go chore: Update go-mockgen (#44305) 2022-11-11 19:24:00 +00:00
go.mod Chore: Fix CVE & bump golang dependencies (#58102) 2023-11-03 17:28:52 +00:00
go.sum Chore: Fix CVE & bump golang dependencies (#58102) 2023-11-03 17:28:52 +00:00
graphql-schema-linter.config.js
jest.config.base.js Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
jest.config.js Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
jest.snapshot-resolver.js Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
LICENSE relicense all paths other than MIT licensed code, client/cody*, jetbrains, VS code, and browser extension to enterprise (#53345) (#53345) 2023-06-13 10:28:11 -07:00
LICENSE.enterprise
linter_deps.bzl bzl: port go compiler directives linter from sg lint to nogo (#54485) 2023-06-30 14:31:15 +02:00
mockgen.temp.yaml repoupdater: Remove endpoints for external services (#57441) 2023-10-09 13:48:07 +00:00
mockgen.test.yaml lib/managedservicesplatform: init MSP runtime, add lib/background from internal/goroutine (#57651) 2023-10-28 03:08:12 +00:00
mockgen.yaml mocks: Reorganize mock definitions into multiple files (#36967) 2022-06-27 20:59:16 +00:00
nogo_config.json gitserver: Replace P4Exec endpoint with properly typed and individually tested RPC calls (#57247) 2023-10-09 15:06:49 +02:00
package.json Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
pnpm-lock.yaml Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02: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 relicense all paths other than MIT licensed code, client/cody*, jetbrains, VS code, and browser extension to enterprise (#53345) (#53345) 2023-06-13 10:28:11 -07:00
renovate.json Require approval to run Renovate (#57608) 2023-10-18 20:36:53 +02:00
SECURITY.md
service-catalog.yaml lib/servicecatalog: init to distribute catalog (#46999) 2023-01-26 17:22:27 -08:00
sg.config.yaml Revert: bazel+vitest - when running vitests concurrently the target //client/browser:test fails (#58116) 2023-11-06 14:02:35 +02:00
shell.nix nix: upgrade node and pnpm (#58015) 2023-10-31 17:55:55 +02:00
sonar-project.properties Use Buildkite to run Sonarcloud (#54875) 2023-07-21 12:16:03 -04:00
stamp_tags.bzl Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
svgo.config.js
tsconfig.base.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
tsconfig.json Vscode extension: Delete vscode extension package (#58023) 2023-10-31 18:39:30 -03:00
WORKSPACE Bump hermetic_cc_toolchain to v2.1.2 (#58132) 2023-11-06 21:26:22 +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 primarily non-OSS-licensed files, and some OSS licensed files (for example, IDE extensions). We maintain one repository rather than two separate repositories mainly for development convenience.

See the LICENSE for an explanation of how files are licensed.