1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* LangSmith Deployment
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CheckpointConfig : Checkpoint config.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CheckpointConfig {
/// Unique identifier for the thread associated with this checkpoint.
#[serde(rename = "thread_id", skip_serializing_if = "Option::is_none")]
pub thread_id: Option<String>,
/// Namespace for the checkpoint, used for organization and retrieval.
#[serde(rename = "checkpoint_ns", skip_serializing_if = "Option::is_none")]
pub checkpoint_ns: Option<String>,
/// Optional unique identifier for the checkpoint itself.
#[serde(rename = "checkpoint_id", skip_serializing_if = "Option::is_none")]
pub checkpoint_id: Option<String>,
/// Optional dictionary containing checkpoint-specific data.
#[serde(rename = "checkpoint_map", skip_serializing_if = "Option::is_none")]
pub checkpoint_map: Option<serde_json::Value>,
}
impl CheckpointConfig {
/// Checkpoint config.
pub fn new() -> CheckpointConfig {
CheckpointConfig {
thread_id: None,
checkpoint_ns: None,
checkpoint_id: None,
checkpoint_map: None,
}
}
}