Skip to content

chore: refactor some linter issue #97

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 18 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
4dcb9ff
feat: adding model downloader to llmserver and load apikey dynamically
NarwhalChen Jan 12, 2025
c217a1a
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 12, 2025
179e8ce
feat: initialize codefox-common package with TypeScript configuration…
Sma1lboy Jan 16, 2025
eb4b7e1
feat: refactor model downloader and update TypeScript configuration f…
Sma1lboy Jan 16, 2025
d1dae8e
feat: integrate codefox-common package and update TypeScript configur…
Sma1lboy Jan 16, 2025
c37bef2
feat: enhance model API integration and update TypeScript configurati…
Sma1lboy Jan 16, 2025
16af2a8
feat: remove outdated test files for remote model instances and provi…
Sma1lboy Jan 16, 2025
cb4bf4f
feat: increase concurrency limit for parallel node execution and refa…
Sma1lboy Jan 16, 2025
b1e9be7
feat: update environment configurations and enhance graceful shutdown…
Sma1lboy Jan 16, 2025
7352ba4
feat: improve model fetching logic and enhance error handling in Open…
Sma1lboy Jan 16, 2025
ad3bfc4
feat: add Home component, update .gitignore, and enhance build script…
Sma1lboy Jan 17, 2025
6282fbc
feat: update .gitignore to exclude database files
Sma1lboy Jan 17, 2025
474f223
Merge branch 'main' into feat-moving-download-to-llmserver
Sma1lboy Jan 17, 2025
beaeabe
feat: implement new caching mechanism for improved performance
Sma1lboy Jan 17, 2025
b1ca02a
feat: update ESLint configuration, add fix script, and remove obsolet…
Sma1lboy Jan 17, 2025
3401c14
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 17, 2025
963c412
feat: implement batchChatSyncWithClock function and update model prov…
Sma1lboy Jan 17, 2025
6a8ac10
Merge branch 'main' into chore-refactor
Sma1lboy Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[autofix.ci] apply automated fixes
  • Loading branch information
autofix-ci[bot] authored Jan 17, 2025
commit 3401c142db8dfbf5f0353d9e150eb3aa118b4dde
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
}
}
}
2 changes: 1 addition & 1 deletion codefox-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"publishConfig": {
"access": "public"
}
}
}
42 changes: 9 additions & 33 deletions config.schema.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,25 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"chat"
],
"required": ["chat"],
"unevaluatedProperties": false,
"properties": {
"chat": {
"type": "array",
"description": "Chat models configuration",
"items": {
"type": "object",
"required": [
"model"
],
"required": ["model"],
"properties": {
"model": {
"type": "string",
"description": "Model name (e.g. gpt-4 for OpenAI API, or llama2 for local model)",
"examples": [
"gpt-4",
"gpt-3.5-turbo",
"llama2"
]
"examples": ["gpt-4", "gpt-3.5-turbo", "llama2"]
},
"alias": {
"type": "string",
"description": "shown in the UI as the model name",
"examples": [
"gpt-4",
"gpt-3.5-turbo",
"llama2"
]
"examples": ["gpt-4", "gpt-3.5-turbo", "llama2"]
},
"endpoint": {
"type": "string",
Expand All @@ -51,11 +39,7 @@
"task": {
"type": "string",
"description": "Optional: The specific task this model is optimized for",
"examples": [
"chat",
"code",
"analysis"
]
"examples": ["chat", "code", "analysis"]
}
}
}
Expand All @@ -65,16 +49,12 @@
"description": "Embedding models configuration",
"items": {
"type": "object",
"required": [
"model"
],
"required": ["model"],
"properties": {
"model": {
"type": "string",
"description": "Model name (e.g. text-embedding-ada-002)",
"examples": [
"text-embedding-ada-002"
]
"examples": ["text-embedding-ada-002"]
},
"endpoint": {
"type": "string",
Expand All @@ -95,14 +75,10 @@
"task": {
"type": "string",
"description": "Optional: The specific task this model is optimized for",
"examples": [
"text-embedding",
"code-embedding",
"semantic-search"
]
"examples": ["text-embedding", "code-embedding", "semantic-search"]
}
}
}
}
}
}
}
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
}
}
}
Loading
Loading