Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: populate engines, models and legacy settings #4403

Merged

Conversation

louis-menlo
Copy link
Contributor

@louis-menlo louis-menlo commented Jan 5, 2025

Describe Your Changes

This PR is a stacked PR (sub) of #4364

This PR aims to populate the list of supported remote engines and their respective models. All of the remote engine extensions are removed in this PR.

CleanShot 2025-01-05 at 19 18 08@2x

CleanShot 2025-01-05 at 19 18 15@2x

CleanShot 2025-01-05 at 19 18 11@2x

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

This pull request includes significant updates to the engine management system, including refactoring the EngineConfig type, adding new methods to the EngineManagementExtension class, and updating engine model configurations. Additionally, it removes some unused code and updates various type definitions.

Engine Management Enhancements:

Code Cleanup:

Type Definitions Updates:

Engine Models Configuration:

@louis-menlo louis-menlo requested a review from urmauur January 5, 2025 12:23
@github-actions github-actions bot added the type: bug Something isn't working label Jan 5, 2025
@urmauur
Copy link
Member

urmauur commented Jan 5, 2025

LGTM

@louis-menlo louis-menlo merged commit a05739c into feat/remote-engine Jan 6, 2025
1 check passed
@louis-menlo louis-menlo deleted the fix/populate-engines-models-settings branch January 6, 2025 03:35
@github-actions github-actions bot added this to the v0.5.13 milestone Jan 6, 2025
urmauur pushed a commit that referenced this pull request Jan 6, 2025
* fix: populate engines, models and legacy settings

* chore: legacy logics update configured remote engine
urmauur pushed a commit that referenced this pull request Jan 6, 2025
* fix: populate engines, models and legacy settings

* chore: legacy logics update configured remote engine
@imtuyethan imtuyethan modified the milestones: v0.5.13, v0.5.14 Jan 6, 2025
louis-menlo added a commit that referenced this pull request Jan 14, 2025
* fix: populate engines, models and legacy settings

* chore: legacy logics update configured remote engine
louis-menlo added a commit that referenced this pull request Jan 14, 2025
* fix: populate engines, models and legacy settings

* chore: legacy logics update configured remote engine
urmauur added a commit that referenced this pull request Jan 14, 2025
* feat: remote engine management

* chore: fix linter issue

* chore: remove unused imports

* fix: populate engines, models and legacy settings (#4403)

* fix: populate engines, models and legacy settings

* chore: legacy logics update configured remote engine

* fix: check exist path before reading

* fix: engines and models persist - race condition

* chore: update issue state

* test: update test cases

* chore: bring back Cortex extension settings

* chore: setup button gear / plus based apikey

* chore: fix remote engine from welcome screen

* chore: resolve linter issue

* chore: support request headers template

* chore: update engines using header_template instead of api_key_template

* chore: update models on changes

* fix: anthropic response template

* chore: fix welcome screen and debounce update value input

* chore: update engines list on changes

* chore: update engines list on change

* chore: update desc form add modal remote engines

* chore: bump cortex version to latest RC

* chore: fix linter

* fix: transform payload of Anthropic and OpenAI

* fix: typo

* fix: openrouter model id for auto routing

* chore: remove remote engine URL setting

* chore: add cohere engine and model support

* fix: should not clean on app launch - models list display issue

* fix: local engine check logic

* chore: bump app version to latest release 0.5.13

* test: fix failed tests

---------

Co-authored-by: Louis <[email protected]>
@imtuyethan imtuyethan modified the milestones: v0.5.14, v0.5.15 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants