-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(intelligence) Add model name caching #5077
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
Merged
Merged
Changes from 41 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
9ddfa7b
feat(intelligence) Add isSupported engine method
charlesbvll f405be6
feat(intelligence) Use isSupported method
charlesbvll d243f70
Remove undefined
charlesbvll 0aaf62b
Merge branch 'fi-feat-add-issupported-engine-method' into fi-feat-use…
charlesbvll 931685e
Use isSupported method
charlesbvll 25fa7d4
refactor(intelligence) Reorganize remote engine
charlesbvll e7717f9
Merge branch 'fi-refactor-reorganize-remote-engine' into fi-feat-use-…
charlesbvll facda40
Merge branch 'main' into fi-feat-add-issupported-engine-method
tanertopal 0b249f1
Merge branch 'main' into fi-feat-add-issupported-engine-method
charlesbvll fcc85bc
Merge branch 'fi-feat-add-issupported-engine-method' into fi-feat-use…
charlesbvll 4d29e0b
Merge branch 'main' into fi-feat-add-issupported-engine-method
charlesbvll 8700e49
Fix tests
charlesbvll 5b7346b
Merge branch 'fi-feat-add-issupported-engine-method' into fi-feat-use…
charlesbvll 82052fa
Revert small change
charlesbvll cea7726
Merge branch 'main' into fi-feat-use-issupported
charlesbvll 341ffca
Improve async code
charlesbvll 3c79661
feat(intelligence) Make remote call for supported check
charlesbvll bef98a0
Fix linting
charlesbvll b457f7b
Use constant for sdk
charlesbvll 6337ff9
Fix types
charlesbvll a47d08c
feat(intelligence) Cache requests to check model
charlesbvll b12c2ef
Merge branch 'main' into fi-feat-check-model-cache
charlesbvll 67030cc
refactor(intelligence) Use engine name only in engines
charlesbvll 9c87281
Revert example change
charlesbvll 2b25410
Merge branch 'fi-only-use-canonical-name' into fi-feat-check-model-cache
charlesbvll 9d30e56
Fix linting errors
charlesbvll f4d9d03
Fix copyright notices
charlesbvll 393b5d9
Fix caching
charlesbvll d2bc5a3
Improve failure
charlesbvll 8ec9d7a
Merge branch 'fi-only-use-canonical-name' into fi-feat-check-model-cache
charlesbvll f5f8b43
Fix failure
charlesbvll 0e6ce77
Merge branch 'fi-only-use-canonical-name' into fi-feat-check-model-cache
charlesbvll e5bb7c6
Reorder
charlesbvll 39ef04e
Merge branch 'main' into fi-feat-check-model-cache
charlesbvll afb2e70
Merge branch 'main' into fi-feat-check-model-cache
charlesbvll a0f5dfa
Update browser cache key
charlesbvll 3d3a00a
Update node path
charlesbvll 8fef856
Externalize right packages
charlesbvll e63dc24
Merge branch 'main' of https://github.com/adap/flower into fi-feat-ch…
charlesbvll d1bce46
Fix linting error
charlesbvll 01c55c9
Merge branch 'main' into fi-feat-check-model-cache
charlesbvll e95d26f
Add caching folder
charlesbvll 51bf280
Fix linting error
charlesbvll 2b27196
Fix copyright test
charlesbvll 25235b0
Merge branch 'main' into fi-feat-check-model-cache
charlesbvll 02a971b
Use cleaner methods
charlesbvll ee85d02
Merge branch 'main' into fi-feat-check-model-cache
charlesbvll File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| // Copyright 2025 Flower Labs GmbH. All Rights Reserved. | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // ============================================================================= | ||
|
|
||
| /* eslint-disable @typescript-eslint/no-unnecessary-condition */ | ||
| export const isNode: boolean = typeof process !== 'undefined' && process.versions?.node != null; | ||
| /* eslint-enable @typescript-eslint/no-unnecessary-condition */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.