pub struct IndexRequest {
pub llm: bool,
pub drop_unlisted: bool,
pub rewrite: Vec<Task>,
pub paths: Vec<String>,
pub steps: Vec<Task>,
}Expand description
POST /api/v1/index: queue indexing of the listed repositories.
Fields§
§llm: bool§drop_unlisted: boolIndex without the repositories that have no folder here, dropping them from the index.
rewrite: Vec<Task>LLM tasks to write again from scratch, with the current model and prompt; needs llm.
paths: Vec<String>Folders to index as they are instead of the list; only an engine on this machine takes them.
steps: Vec<Task>The LLM steps to run, whatever the team settings say; none: the team settings decide.
Trait Implementations§
Source§impl Clone for IndexRequest
impl Clone for IndexRequest
Source§impl Debug for IndexRequest
impl Debug for IndexRequest
Source§impl Default for IndexRequest
impl Default for IndexRequest
Source§impl<'de> Deserialize<'de> for IndexRequest
impl<'de> Deserialize<'de> for IndexRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for IndexRequest
impl Freeze for IndexRequest
impl RefUnwindSafe for IndexRequest
impl Send for IndexRequest
impl Sync for IndexRequest
impl Unpin for IndexRequest
impl UnsafeUnpin for IndexRequest
impl UnwindSafe for IndexRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more