mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
15 KiB
15 KiB
goose-generated
An AI agent
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.9.0
- Package version: 1.0.0
- Generator version: 7.16.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import _generated
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import _generated
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import _generated
from _generated.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = _generated.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with _generated.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = _generated.ContextManagementApi(api_client)
context_manage_request = _generated.ContextManageRequest() # ContextManageRequest |
try:
api_response = api_instance.manage_context(context_manage_request)
print("The response of ContextManagementApi->manage_context:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling ContextManagementApi->manage_context: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ContextManagementApi | manage_context | POST /context/manage | |
| RecipeManagementApi | create_recipe | POST /recipes/create | Create a Recipe configuration from the current session |
| RecipeManagementApi | decode_recipe | POST /recipes/decode | |
| RecipeManagementApi | delete_recipe | POST /recipes/delete | |
| RecipeManagementApi | encode_recipe | POST /recipes/encode | |
| RecipeManagementApi | list_recipes | GET /recipes/list | |
| RecipeManagementApi | parse_recipe | POST /recipes/parse | |
| RecipeManagementApi | save_recipe | POST /recipes/save | |
| RecipeManagementApi | scan_recipe | POST /recipes/scan | |
| SessionManagementApi | delete_session | DELETE /sessions/{session_id} | |
| SessionManagementApi | get_session | GET /sessions/{session_id} | |
| SessionManagementApi | get_session_insights | GET /sessions/insights | |
| SessionManagementApi | list_sessions | GET /sessions | |
| SessionManagementApi | update_session_description | PUT /sessions/{session_id}/description | |
| ScheduleApi | create_schedule | POST /schedule/create | |
| ScheduleApi | delete_schedule | DELETE /schedule/delete/{id} | |
| ScheduleApi | inspect_running_job | GET /schedule/{id}/inspect | |
| ScheduleApi | kill_running_job | POST /schedule/{id}/kill | |
| ScheduleApi | list_schedules | GET /schedule/list | |
| ScheduleApi | pause_schedule | POST /schedule/{id}/pause | |
| ScheduleApi | run_now_handler | POST /schedule/{id}/run_now | |
| ScheduleApi | sessions_handler | GET /schedule/{id}/sessions | |
| ScheduleApi | unpause_schedule | POST /schedule/{id}/unpause | |
| ScheduleApi | update_schedule | PUT /schedule/{id} | |
| SuperRoutesAgentApi | add_sub_recipes | POST /agent/add_sub_recipes | |
| SuperRoutesAgentApi | extend_prompt | POST /agent/prompt | |
| SuperRoutesAgentApi | get_tools | GET /agent/tools | |
| SuperRoutesAgentApi | resume_agent | POST /agent/resume | |
| SuperRoutesAgentApi | start_agent | POST /agent/start | |
| SuperRoutesAgentApi | update_agent_provider | POST /agent/update_provider | |
| SuperRoutesAgentApi | update_router_tool_selector | POST /agent/update_router_tool_selector | |
| SuperRoutesAgentApi | update_session_config | POST /agent/session_config | |
| SuperRoutesConfigManagementApi | add_extension | POST /config/extensions | |
| SuperRoutesConfigManagementApi | backup_config | POST /config/backup | |
| SuperRoutesConfigManagementApi | create_custom_provider | POST /config/custom-providers | |
| SuperRoutesConfigManagementApi | get_extensions | GET /config/extensions | |
| SuperRoutesConfigManagementApi | get_provider_models | GET /config/providers/{name}/models | |
| SuperRoutesConfigManagementApi | init_config | POST /config/init | |
| SuperRoutesConfigManagementApi | providers | GET /config/providers | |
| SuperRoutesConfigManagementApi | read_all_config | GET /config | |
| SuperRoutesConfigManagementApi | read_config | POST /config/read | |
| SuperRoutesConfigManagementApi | recover_config | POST /config/recover | |
| SuperRoutesConfigManagementApi | remove_config | POST /config/remove | |
| SuperRoutesConfigManagementApi | remove_custom_provider | DELETE /config/custom-providers/{id} | |
| SuperRoutesConfigManagementApi | remove_extension | DELETE /config/extensions/{name} | |
| SuperRoutesConfigManagementApi | upsert_config | POST /config/upsert | |
| SuperRoutesConfigManagementApi | upsert_permissions | POST /config/permissions | |
| SuperRoutesConfigManagementApi | validate_config | GET /config/validate | |
| SuperRoutesHealthApi | status | GET /status | |
| SuperRoutesReplyApi | confirm_permission | POST /confirm | |
| SuperRoutesReplyApi | reply | POST /reply | |
| SuperRoutesSetupApi | start_openrouter_setup | POST /handle_openrouter | |
| SuperRoutesSetupApi | start_tetrate_setup | POST /handle_tetrate |
Documentation For Models
- AddSubRecipesRequest
- AddSubRecipesResponse
- Annotations
- Author
- AuthorRequest
- ChatRequest
- ConfigKey
- ConfigKeyQuery
- ConfigResponse
- Content
- ContextLengthExceeded
- ContextManageRequest
- ContextManageResponse
- CreateCustomProviderRequest
- CreateRecipeRequest
- CreateRecipeResponse
- CreateScheduleRequest
- DecodeRecipeRequest
- DecodeRecipeResponse
- DeleteRecipeRequest
- EmbeddedResource
- EmbeddedResourceAnnotations
- EncodeRecipeRequest
- EncodeRecipeResponse
- ErrorResponse
- ExtendPromptRequest
- ExtendPromptResponse
- ExtensionConfig
- ExtensionConfigOneOf
- ExtensionConfigOneOf1
- ExtensionConfigOneOf2
- ExtensionConfigOneOf3
- ExtensionConfigOneOf4
- ExtensionConfigOneOf5
- ExtensionConfigOneOf6
- ExtensionEntry
- ExtensionQuery
- ExtensionResponse
- FrontendToolRequest
- GetToolsQuery
- Icon
- ImageContent
- InspectJobResponse
- KillJobResponse
- ListRecipeResponse
- ListSchedulesResponse
- Message
- MessageContent
- MessageContentOneOf
- MessageContentOneOf1
- MessageContentOneOf2
- MessageContentOneOf3
- MessageContentOneOf4
- MessageContentOneOf5
- MessageContentOneOf6
- MessageContentOneOf7
- MessageContentOneOf8
- MessageContentOneOf9
- MessageMetadata
- ModelInfo
- ParseRecipeRequest
- ParseRecipeResponse
- PermissionConfirmationRequest
- PermissionLevel
- PrincipalType
- ProviderDetails
- ProviderMetadata
- ProvidersResponse
- RawAudioContent
- RawEmbeddedResource
- RawImageContent
- RawResource
- RawTextContent
- Recipe
- RecipeManifestResponse
- RecipeParameter
- RecipeParameterInputType
- RecipeParameterRequirement
- RedactedThinkingContent
- ResourceContents
- ResourceContentsAnyOf
- ResourceContentsAnyOf1
- Response
- ResumeAgentRequest
- RetryConfig
- RunNowResponse
- SaveRecipeRequest
- ScanRecipeRequest
- ScanRecipeResponse
- ScheduledJob
- Session
- SessionConfigRequest
- SessionDisplayInfo
- SessionInsights
- SessionListResponse
- SessionsQuery
- Settings
- SetupResponse
- StartAgentRequest
- SubRecipe
- SuccessCheck
- SummarizationRequested
- TextContent
- ThinkingContent
- Tool
- ToolAnnotations
- ToolConfirmationRequest
- ToolInfo
- ToolPermission
- ToolRequest
- ToolResponse
- UpdateProviderRequest
- UpdateRouterToolSelectorRequest
- UpdateScheduleRequest
- UpdateSessionDescriptionRequest
- UpsertConfigQuery
- UpsertPermissionsQuery
Documentation For Authorization
Endpoints do not require authorization.