add more changes

This commit is contained in:
Adil Hafeez 2025-01-17 18:24:59 -08:00
parent c532a5f4c7
commit 5c066c9825
2 changed files with 5 additions and 12 deletions

View file

@ -338,7 +338,8 @@ impl StreamContext {
ARCH_INTERNAL_CLUSTER_NAME,
&path,
headers,
Some(tool_params_json_str.as_bytes()),
// Some(tool_params_json_str.as_bytes()),
None,
vec![],
Duration::from_secs(5),
);

View file

@ -12,6 +12,7 @@ overrides:
endpoints:
acm_service:
# endpoint: host.docker.internal:8001
endpoint: host.docker.internal:18083
connect_timeout: 0.005s
@ -22,16 +23,6 @@ llm_providers:
model: gpt-4o-mini
default: true
- name: gpt-3.5-turbo-0125
access_key: $OPENAI_API_KEY
provider: openai
model: gpt-3.5-turbo-0125
- name: gpt-4o
access_key: $OPENAI_API_KEY
provider: openai
model: gpt-4o
system_prompt: |
You are a helpful assistant.
@ -47,7 +38,8 @@ prompt_targets:
endpoint:
http_method: GET
name: acm_service
path: /cluster.open-cluster-management.io/v1/managedclusters
# path: /cluster.open-cluster-management.io/v1/managedclusters
path: /apis/cluster.open-cluster-management.io/v1/managedclusters
system_prompt: |
You are a helpful assistant. You are given response in json. Only show name of the cluster and its status.