feat(ai-stack): metrics, named handles, prompt docs, backends, zero-LLM
Finish ai-stack steps 1–5: model_turn usage, fast/reasoning, type:prompt load, openai/ollama split, and agent-zero-llm gold. Fix compiled-skill Marqdo syntax so llm_free await no longer falls through to plan+HTTP. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
1f8e61f3bf
commit
d8d435fead
16 files changed
+738
-198
No files matched your search
@@ -1269,7 +1269,7 @@ pub fn workbook_solidify(args: &Value) -> Result<Value, String> {
|
||||
};
|
||||
let lit = marqdo_quoted_text(&result);
|
||||
let body = format!(
|
||||
"---\ntitle: agent workbook\n---\n\n# main\n\n*`result` = {lit} *\n**`result`**\n"
|
||||
"---\ntitle: agent workbook\n---\n\n# main\n\n**`result` = {lit}**\n*`result`*\n"
|
||||
);
|
||||
fs::write(&p, body).map_err(|e| format!("solidify write: {e}"))?;
|
||||
Ok(json!({
|
||||
|
||||
@@ -676,7 +676,7 @@ pub fn generalize(args: &Value) -> Result<Value, String> {
|
||||
fn write_compiled_mq(result: &str, title: &str) -> String {
|
||||
let lit = marqdo_quoted(result);
|
||||
format!(
|
||||
"---\ntitle: {title}\ntype: skill\nstatus: compiled\nllm_free: true\n---\n\nCompiled from successful episodes (deterministic return).\n\n# main\n\n*`result` = {lit} *\n**`result`**\n"
|
||||
"---\ntitle: {title}\ntype: skill\nstatus: compiled\nllm_free: true\n---\n\nCompiled from successful episodes (deterministic return).\n\n# main\n\n**`result` = {lit}**\n*`result`*\n"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user