Initial public release of Warp.
Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
pub mod schema;
|
||||
|
||||
use warp_graphql::client::RequestOptions;
|
||||
pub use warp_graphql::client::{get_request_context, get_user_facing_error_message, GraphQLError};
|
||||
|
||||
/// Returns the default [`RequestOptions`] that should be used for a GraphQL request.
|
||||
pub fn default_request_options() -> RequestOptions {
|
||||
RequestOptions {
|
||||
#[cfg(feature = "agent_mode_evals")]
|
||||
path_prefix: Some("/agent-mode-evals".to_string()),
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user