Skip to content

Commit 6e19e5c

Browse files
committed
New unit test
1 parent 22c9f02 commit 6e19e5c

1 file changed

Lines changed: 264 additions & 0 deletions

File tree

tests/unit/test_configuration.py

Lines changed: 264 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,6 +2301,270 @@ def test_score_multiplier_mapping_not_loaded() -> None:
23012301
"chunk_filter_query": "And drug brother tell specific realize hit.",
23022302
},
23032303
},
2304+
{
2305+
"name": "Sarah Austin",
2306+
"service": {
2307+
"host": "Our marriage even information note allow.",
2308+
"port": 57,
2309+
"base_url": "Must ok worker plan.",
2310+
"auth_enabled": True,
2311+
"workers": 310,
2312+
"color_log": True,
2313+
"access_log": False,
2314+
"tls_config": {
2315+
"tls_certificate_path": "xyzzy",
2316+
"tls_key_path": None,
2317+
"tls_key_password": None,
2318+
},
2319+
"root_path": "Decade send whether trial various.",
2320+
"cors": {
2321+
"allow_origins": [
2322+
"Service effort water small individual.",
2323+
"Level call family yeah.",
2324+
],
2325+
"allow_credentials": True,
2326+
"allow_methods": [
2327+
"Read here only.",
2328+
"Effect work professor. Guess about expect consumer",
2329+
],
2330+
"allow_headers": [
2331+
"Wish follow administration manage structure democr",
2332+
"Sit imagine agree spend.",
2333+
],
2334+
},
2335+
},
2336+
"llama_stack": {
2337+
"url": None,
2338+
"api_key": "xyzzy",
2339+
"use_as_library_client": None,
2340+
"library_client_config_path": None,
2341+
"timeout": 182,
2342+
},
2343+
"user_data_collection": {
2344+
"feedback_enabled": True,
2345+
"feedback_storage": "Media director fight with. Lay shake unit news.",
2346+
"transcripts_enabled": True,
2347+
"transcripts_storage": "Speech catch doctor organization.",
2348+
},
2349+
"database": {
2350+
"sqlite": None,
2351+
"postgres": {
2352+
"host": "Beat move hospital same.",
2353+
"port": 669,
2354+
"db": "Could focus find reduce.",
2355+
"user": "Interest while take. Doctor high example.",
2356+
"password": "DEBi6$q4Q#!q",
2357+
"namespace": "Speak family difference alone them ball.",
2358+
"ssl_mode": "Group decision about.",
2359+
"gss_encmode": "Her choice all.",
2360+
"ca_cert_path": None,
2361+
},
2362+
},
2363+
"mcp_servers": [
2364+
{
2365+
"name": "Anthony Brown",
2366+
"provider_id": "Over main son rich drive wife couple.",
2367+
"url": "http://newman.net/",
2368+
"authorization_headers": {
2369+
"movie": "Future by season.",
2370+
"food": "Important tax compare parent top. Many point someb",
2371+
},
2372+
"headers": ["Center arrive grow day because customer."],
2373+
"timeout": "xyzzy",
2374+
},
2375+
{
2376+
"name": "Mike Orozco",
2377+
"provider_id": "Song game interesting animal.",
2378+
"url": "https://www.mason.info/",
2379+
"authorization_headers": {
2380+
"adult": "Character account popular defense require.",
2381+
"medical": "Last federal buy word significant.",
2382+
"education": "Away try various long.",
2383+
},
2384+
"headers": [
2385+
"Mean several sell eye.",
2386+
"Catch similar exist. More mother dream involve beg",
2387+
"Top with provide movie rule two and draw.",
2388+
],
2389+
"timeout": "xyzzy",
2390+
},
2391+
],
2392+
"authentication": {
2393+
"module": "Chair difficult record safe find establish.",
2394+
"skip_tls_verification": True,
2395+
"skip_for_health_probes": True,
2396+
"skip_for_metrics": False,
2397+
"k8s_cluster_api": None,
2398+
"k8s_ca_cert_path": "xyzzy",
2399+
"jwk_config": {
2400+
"url": "http://peterson.com/",
2401+
"jwt_configuration": {
2402+
"user_id_claim": "That approach.",
2403+
"username_claim": "Too agent put truth then.",
2404+
"role_rules": [
2405+
{
2406+
"jsonpath": "Seven north system market.",
2407+
"operator": "xyzzy",
2408+
"negate": False,
2409+
"value": "any_value_placeholder",
2410+
"roles": ["Also try live serve create buy believe."],
2411+
},
2412+
{
2413+
"jsonpath": "Care audience our hear your media.",
2414+
"operator": "xyzzy",
2415+
"negate": False,
2416+
"value": "any_value_placeholder",
2417+
"roles": [
2418+
"Talk strategy interest instead them anyone wrong."
2419+
],
2420+
},
2421+
{
2422+
"jsonpath": "Early art bank about senior leg possible.",
2423+
"operator": "xyzzy",
2424+
"negate": True,
2425+
"value": "any_value_placeholder",
2426+
"roles": [
2427+
"Water car guy even cultural threat.",
2428+
"State page adult spring. Over Mrs firm magazine.",
2429+
"Answer exist group cover measure various actually ",
2430+
],
2431+
},
2432+
],
2433+
},
2434+
},
2435+
"api_key_config": None,
2436+
"rh_identity_config": {
2437+
"required_entitlements": None,
2438+
"max_header_size": 729,
2439+
},
2440+
},
2441+
"authorization": {
2442+
"access_rules": [
2443+
{
2444+
"role": "Owner bit mother federal something. Its memory sit",
2445+
"actions": ["xyzzy"],
2446+
},
2447+
{
2448+
"role": "Small pretty ok figure prepare describe see.",
2449+
"actions": ["xyzzy", "xyzzy"],
2450+
},
2451+
]
2452+
},
2453+
"customization": {
2454+
"profile_path": None,
2455+
"disable_query_system_prompt": True,
2456+
"disable_shield_ids_override": True,
2457+
"system_prompt_path": None,
2458+
"system_prompt": "Wonder wind often doctor.",
2459+
"agent_card_path": "xyzzy",
2460+
"agent_card_config": None,
2461+
"custom_profile": None,
2462+
},
2463+
"inference": {
2464+
"default_model": "Which stop task language.",
2465+
"default_provider": None,
2466+
},
2467+
"conversation_cache": {
2468+
"type": "xyzzy",
2469+
"memory": {"max_entries": 332},
2470+
"sqlite": None,
2471+
"postgres": None,
2472+
},
2473+
"byok_rag": [
2474+
{
2475+
"rag_id": "Nor reduce physical section serious. She still rep",
2476+
"rag_type": "Hospital political recognize operation tree.",
2477+
"embedding_model": "Drug concern old job discover firm imagine.",
2478+
"embedding_dimension": 192,
2479+
"vector_db_id": "Relationship training argue body market old per.",
2480+
"db_path": "Consumer while positive. Why because quite respons",
2481+
"score_multiplier": 283.58,
2482+
},
2483+
{
2484+
"rag_id": "Past detail as star. Teacher spend sit push maybe ",
2485+
"rag_type": "After good nature. War option science approach.",
2486+
"embedding_model": "Air serve court measure most play item.",
2487+
"embedding_dimension": 491,
2488+
"vector_db_id": "Other open wonder.",
2489+
"db_path": "Car everybody during. Nor believe audience tax soo",
2490+
"score_multiplier": 159.31,
2491+
},
2492+
{
2493+
"rag_id": "Fire feeling person real party game method.",
2494+
"rag_type": "Middle together second money need fly.",
2495+
"embedding_model": "Do item when politics.",
2496+
"embedding_dimension": 896,
2497+
"vector_db_id": "Reason decision region past research.",
2498+
"db_path": "Every any nice vote civil.",
2499+
"score_multiplier": 776.23,
2500+
},
2501+
],
2502+
"a2a_state": {
2503+
"sqlite": None,
2504+
"postgres": {
2505+
"host": "Occur meet pay dog decade sense. Rule discover top",
2506+
"port": 191,
2507+
"db": "Whatever democratic unit class recent affect.",
2508+
"user": "Worker feeling vote happen.",
2509+
"password": "zu7HYMtol+#F",
2510+
"namespace": None,
2511+
"ssl_mode": "Just leader family.",
2512+
"gss_encmode": "Billion suffer need parent her class.",
2513+
"ca_cert_path": None,
2514+
},
2515+
},
2516+
"quota_handlers": {
2517+
"sqlite": {"db_path": "Subject culture laugh sea finish moment."},
2518+
"postgres": None,
2519+
"limiters": [
2520+
{
2521+
"type": "xyzzy",
2522+
"name": "David Richardson",
2523+
"initial_quota": 470,
2524+
"quota_increase": 353,
2525+
"period": "Here onto which president today.",
2526+
},
2527+
{
2528+
"type": "xyzzy",
2529+
"name": "Daniel Young",
2530+
"initial_quota": 963,
2531+
"quota_increase": 566,
2532+
"period": "Nation nearly hold skin culture she.",
2533+
},
2534+
],
2535+
"scheduler": {
2536+
"period": 817,
2537+
"database_reconnection_count": 153,
2538+
"database_reconnection_delay": 932,
2539+
},
2540+
"enable_token_history": True,
2541+
},
2542+
"azure_entra_id": {
2543+
"tenant_id": "xyzzy",
2544+
"client_id": "xyzzy",
2545+
"client_secret": "xyzzy",
2546+
"scope": "Make seven condition keep bag change ask.",
2547+
},
2548+
"rlsapi_v1": {"allow_verbose_infer": True, "quota_subject": None},
2549+
"splunk": {
2550+
"enabled": False,
2551+
"url": "https://www.taylor-bartlett.com/",
2552+
"token_path": "xyzzy",
2553+
"index": None,
2554+
"source": "Sure floor level.",
2555+
"timeout": 393,
2556+
"verify_ssl": True,
2557+
},
2558+
"deployment_environment": "Successful cut arrive ever against maybe.",
2559+
"rag": {
2560+
"inline": [
2561+
"Themselves scene just.",
2562+
"Sport develop particular when. Task agreement walk",
2563+
],
2564+
"tool": ["Anything visit late."],
2565+
},
2566+
"okp": {"rhokp_url": "xyzzy", "offline": True, "chunk_filter_query": None},
2567+
},
23042568
]
23052569

23062570

0 commit comments

Comments
 (0)