prediction: rewrite the prompting stack to create the ship computer as a second character, and let characters/agents operate autonomously with their own tasks and event queues
This commit is contained in:
@@ -27,11 +27,11 @@ impl DataSource for MixxxDB {
|
||||
type Args = MixxxQuery;
|
||||
type Error = MixxxError;
|
||||
|
||||
async fn synchronize(&mut self, _artifact: &mut Artifact) -> Result<Vec<Artifact>, Self::Error> {
|
||||
async fn synchronize(&self, _artifact: &mut Artifact) -> Result<Vec<Artifact>, Self::Error> {
|
||||
Ok(vec![])
|
||||
}
|
||||
|
||||
async fn query(&mut self, args: &Self::Args) -> Result<Vec<Artifact>, Self::Error> {
|
||||
async fn query(&self, args: &Self::Args) -> Result<Vec<Artifact>, Self::Error> {
|
||||
let mut ret = vec![];
|
||||
let playlist_name = args.playlist_name.as_str();
|
||||
log::info!("Loading Mixxx playlist {}", playlist_name);
|
||||
|
||||
Reference in New Issue
Block a user