aipack 0.8.26

Command Agent runner to accelerate production coding with genai.
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Runtime rec method for lua calls

use crate::Result;
use crate::model::{LogBmc, LogKind, RuntimeCtx};
use crate::runtime::Runtime;

impl Runtime {
	pub fn rec_log_with_rt_ctx(&self, rt_ctx: &RuntimeCtx, log_kind: LogKind, msg: &str) -> Result<()> {
		LogBmc::create_log_with_rt_ctx(self.mm(), rt_ctx, log_kind, msg)?;

		Ok(())
	}
}