Release v1.1.2 - #60
Conversation
Greptile SummaryThis release (v1.1.2) adds a new
Confidence Score: 5/5Safe to merge; the new KnowledgeBaseAPI and agent job additions follow established patterns and the previously broken download_reference call is corrected. All changed paths follow the existing request_raw / translate_response / from_dict contract. The cancel_all return-type change is matched in the generated module, the wrapper, and the tests. The only inconsistency found is a cosmetic coercion style nit on retrieve_artifact that does not affect correctness for valid UUID inputs. src/roe/api/agents.py — the retrieve_artifact method omits the UUID(str(...)) coercion used by all other job-ID calls; not a blocker but worth aligning. Important Files Changed
Sequence Diagram%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Caller
participant RoeClient
participant KnowledgeBaseAPI
participant AgentJobsAPI
participant request_raw
participant GeneratedEndpoint
participant Server
Note over Caller,Server: Knowledge Base flow
Caller->>RoeClient: client.knowledge_base.create(company, brief)
RoeClient->>KnowledgeBaseAPI: create(company, brief)
KnowledgeBaseAPI->>request_raw: "knowledge_base_create, body=CreateKnowledgeBaseRequest"
request_raw->>GeneratedEndpoint: _get_kwargs(body, organization_id)
request_raw->>Server: POST /v1/knowledge-base/
Server-->>request_raw: "201 {id, status, ...}"
request_raw->>KnowledgeBaseAPI: response
KnowledgeBaseAPI-->>Caller: CreateKnowledgeBase
Note over Caller,Server: Artifact retrieval flow
Caller->>AgentJobsAPI: jobs.retrieve_artifact(job_id, artifact_key)
AgentJobsAPI->>request_raw: agents_jobs_artifacts_result_retrieve, str(job_id), artifact_key
request_raw->>GeneratedEndpoint: _get_kwargs(agent_job_id, artifact_key, organization_id)
request_raw->>Server: "GET /v1/agents/jobs/{id}/artifacts/result/?artifact_key=..."
Server-->>request_raw: "200 {result: {...}}"
request_raw->>AgentJobsAPI: response
AgentJobsAPI-->>Caller: AgentJobArtifactResult
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Caller
participant RoeClient
participant KnowledgeBaseAPI
participant AgentJobsAPI
participant request_raw
participant GeneratedEndpoint
participant Server
Note over Caller,Server: Knowledge Base flow
Caller->>RoeClient: client.knowledge_base.create(company, brief)
RoeClient->>KnowledgeBaseAPI: create(company, brief)
KnowledgeBaseAPI->>request_raw: "knowledge_base_create, body=CreateKnowledgeBaseRequest"
request_raw->>GeneratedEndpoint: _get_kwargs(body, organization_id)
request_raw->>Server: POST /v1/knowledge-base/
Server-->>request_raw: "201 {id, status, ...}"
request_raw->>KnowledgeBaseAPI: response
KnowledgeBaseAPI-->>Caller: CreateKnowledgeBase
Note over Caller,Server: Artifact retrieval flow
Caller->>AgentJobsAPI: jobs.retrieve_artifact(job_id, artifact_key)
AgentJobsAPI->>request_raw: agents_jobs_artifacts_result_retrieve, str(job_id), artifact_key
request_raw->>GeneratedEndpoint: _get_kwargs(agent_job_id, artifact_key, organization_id)
request_raw->>Server: "GET /v1/agents/jobs/{id}/artifacts/result/?artifact_key=..."
Server-->>request_raw: "200 {result: {...}}"
request_raw->>AgentJobsAPI: response
AgentJobsAPI-->>Caller: AgentJobArtifactResult
Reviews (4): Last reviewed commit: "fix(agents): update jobs wrapper for 1-0..." | Re-trigger Greptile |
d6b810c to
addb570
Compare
5bcf41b to
e0fdf4d
Compare
e0fdf4d to
ec375a3
Compare
35f26bb to
e0a9c16
Compare
e0a9c16 to
e3dcbe8
Compare
This PR updates the Python SDK for release
1.1.2.Generated from:
1-0-85febae71dfde8bf0af6928e938ffd95bd506687be