You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename Fabric to Cortex throughout the codebase (#187)
- Rename all FABRIC_* environment variables to CORTEX_*
- Rename FabricPaths, FabricFeedback, etc. structs to Cortex*
- Update all comments, documentation, and help text
- Update shell integration scripts
- Update TypeScript/JavaScript code and CSS files
- Update configuration file references (.fabric -> .cortex)
- Update service names and identifiers
- Update test assertions and mock data
Co-authored-by: Droid Agent <droid@factory.ai>
/// Handle chat completions by calling the actual LLM provider.
812
812
/// NOTE: This endpoint is temporarily disabled as the providers module was removed.
813
-
/// Use the TUI (cargo run --bin fabric) for LLM completions instead.
813
+
/// Use the TUI (cargo run --bin cortex) for LLM completions instead.
814
814
asyncfnchat_completions(
815
815
State(_state):State<Arc<AppState>>,
816
816
Json(req):Json<ChatCompletionRequest>,
@@ -829,7 +829,7 @@ async fn chat_completions(
829
829
index:0,
830
830
message:ChatMessage{
831
831
role:"assistant".to_string(),
832
-
content:"Chat completions API endpoint is temporarily disabled. The providers module was removed during dead code cleanup. Please use the TUI (cargo run --bin fabric) for LLM interactions.".to_string(),
832
+
content:"Chat completions API endpoint is temporarily disabled. The providers module was removed during dead code cleanup. Please use the TUI (cargo run --bin cortex) for LLM interactions.".to_string(),
Copy file name to clipboardExpand all lines: cortex-app-server/src/handlers.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ use crate::tools::ToolExecutor;
23
23
24
24
/// Streaming completion handler.
25
25
/// NOTE: This endpoint is temporarily disabled as the providers module was removed.
26
-
/// Use the TUI (cargo run --bin fabric) for LLM completions instead.
26
+
/// Use the TUI (cargo run --bin cortex) for LLM completions instead.
27
27
pubasyncfnstream_completion(
28
28
State(_state):State<Arc<AppState>>,
29
29
Json(_req):Json<StreamCompletionRequest>,
@@ -32,7 +32,7 @@ pub async fn stream_completion(
32
32
// Return a stream with a single error message
33
33
let stream = async_stream::stream! {
34
34
let error_event = StreamEvent::Error{
35
-
message:"Streaming completions API endpoint is temporarily disabled. The providers module was removed during dead code cleanup. Please use the TUI (cargo run --bin fabric) for LLM interactions.".to_string()
35
+
message:"Streaming completions API endpoint is temporarily disabled. The providers module was removed during dead code cleanup. Please use the TUI (cargo run --bin cortex) for LLM interactions.".to_string()
36
36
};
37
37
let data = serde_json::to_string(&error_event).unwrap_or_default();
0 commit comments