...
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
module flow_calendar
|
||||
|
||||
import incubaid.herolib.hero.heromodels
|
||||
import incubaid.herolib.core.flows
|
||||
|
||||
pub fn calendar_delete(mut s flows.Step) ! {
|
||||
// get heromodels
|
||||
mut m := heromodels.get('coordinator_${s.coordinator.name}')!
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
module flow_calendar
|
||||
|
||||
import incubaid.herolib.hero.heromodels
|
||||
import incubaid.herolib.core.flows
|
||||
|
||||
type CoordinatorProxy = flows.Coordinator
|
||||
|
||||
pub fn start(mut c flows.Coordinator, prompt string) ! {
|
||||
// init the heromodels, define well chosen name, needed to call later
|
||||
mut m := heromodels.new(redis: c.redis, name: 'coordinator_${c.name}')!
|
||||
|
||||
mut step_triage := c.step_new(
|
||||
context: {
|
||||
'prompt': prompt
|
||||
}
|
||||
f: triage
|
||||
)!
|
||||
|
||||
c.run()!
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
module flow_calendar
|
||||
|
||||
import incubaid.herolib.hero.heromodels
|
||||
import incubaid.herolib.core.flows
|
||||
|
||||
pub fn triage(mut s flows.Step) ! {
|
||||
prompt := s.context['prompt'] or { panic("can't find prompt context in step:\n${s}") }
|
||||
response := s.coordinator.ai.llms.llm_maverick.chat_completion(
|
||||
message: prompt
|
||||
temperature: 0.5
|
||||
max_completion_tokens: 5000
|
||||
)!
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
|
||||
|
||||
fix @lib/ai/codewalker
|
||||
|
||||
|
||||
- use instructions lib/core/pathlib/readme.md for all path.list features
|
||||
- codemap should not have errors, only kept at filemap level, remove those errors everywhere, I still it being used
|
||||
|
||||
|
||||
check rest of code if no issues
|
||||
|
||||
fix readme.md
|
||||
|
||||
|
||||
give the coding instructions with the full code output where changes needed
|
||||
Reference in New Issue
Block a user